File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : EasyCrypt Docker Containers Build
2+
3+ on :
4+ push :
5+ branches :
6+ - ' main'
7+ - ' latest'
8+ tags :
9+ - ' r[0-9]+.[0-9]+'
10+ workflow_dispatch :
11+
12+ jobs :
13+ make-images :
14+ name : Build Container Images
15+ runs-on : ubuntu-24.04
16+ steps :
17+ - uses : actions/checkout@v4
18+ - name : Build `base` Image
19+ run : TAG=${{ github.ref_name }} VARIANT=base make -C scripts/docker
20+ - name : Build `build` Image
21+ run : TAG=${{ github.ref_name }} VARIANT=build make -C scripts/docker
22+ - name : Build `formosa` Image
23+ run : TAG=${{ github.ref_name }} VARIANT=formosa make -C scripts/docker
24+
Original file line number Diff line number Diff line change 22
33# --------------------------------------------------------------------
44VARIANT ?= build
5+ TAG ?= main
56
67# --------------------------------------------------------------------
78.PHONY : default build publish
@@ -11,8 +12,8 @@ default: build
1112build :
1213 docker build -f Dockerfile.$(VARIANT ) \
1314 --platform linux/amd64 \
14- -t ghcr.io/easycrypt/ec-$(VARIANT ) -box \
15+ -t ghcr.io/easycrypt/ec-$(VARIANT ) -box: $( TAG ) \
1516 .
1617
1718publish :
18- docker push ghcr.io/easycrypt/ec-$(VARIANT ) -box
19+ docker push ghcr.io/easycrypt/ec-$(VARIANT ) -box: $( TAG )
You can’t perform that action at this time.
0 commit comments