forked from o1-labs/o1js
-
Notifications
You must be signed in to change notification settings - Fork 2
55 lines (46 loc) · 1.36 KB
/
build-and-publish-docker-image.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
name: Build and Publish Docker image
on:
workflow_dispatch:
push:
branches: [ "build-image" ]
pull_request:
branches: [ "build-image" ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: meta-introspector/checkout@v4
with:
submodules: recursive
#- name: Build the Docker image
# run: docker build . --file Dockerfile --tag my-image-name:$(date +%s)
#- name: Build the Docker image via docker compose
# run: docker compose build
#- name: Docker-Compose Publish
# uses: meta-introspector/publish_docker-compose@v0.1.1
# with:
# docker_compose: docker-compose.yml
- name: Build and Publish Docker image
uses: meta-introspector/docker-bpgpr@1.0.0
with:
gh_token: ${{ secrets.GITHUB_TOKEN }}
image_name: o1js-perf-recording
tag_with_ref: true
tag_with_sha: true
#tags: main
tags: latest
#path: ./test
dockerfile: Dockerfile
- name: test
run: docker images
- name: Build and Publish Docker image test
uses: meta-introspector/docker-bpgpr@1.0.0
with:
gh_token: ${{ secrets.GITHUB_TOKEN }}
image_name: o1js-perf-recording
tag_with_ref: true
#tag_with_sha: true
#tags: main
#tags: latest
#path: ./test
dockerfile: Dockerfile