File tree Expand file tree Collapse file tree 2 files changed +24
-6
lines changed
Expand file tree Collapse file tree 2 files changed +24
-6
lines changed Original file line number Diff line number Diff line change 2222 uses : actions/checkout@v4
2323
2424 - name : Test that the docker image still builds successfully
25- run : |
26- export COMMIT_SHA=$(git rev-parse --short HEAD)
27- docker build -t testingbuild:latest --build-arg COMMIT_SHA=${COMMIT_SHA} . -f Dockerfile_backend
25+ uses : depot/setup-action@v1
26+
27+ - name : Build Docker image with Depot
28+ uses : depot/build-push-action@v1
29+ with :
30+ project : f11hp4hlmg
31+ token : ${{ secrets.DEPOT_TOKEN }}
32+ context : .
33+ file : ./Dockerfile_backend
34+ push : false
35+ build-args : |
36+ COMMIT_SHA=${{ github.sha }}
2837
2938 - name : Deps
3039 run : go get -v ./...
Original file line number Diff line number Diff line change 2222 uses : actions/checkout@v4
2323
2424 - name : Test that the docker image still builds successfully
25- run : |
26- export COMMIT_SHA=$(git rev-parse --short HEAD)
27- docker build -t testingbuild:latest --build-arg COMMIT_SHA=${COMMIT_SHA} . -f Dockerfile_backend
25+ uses : depot/setup-action@v1
26+
27+ - name : Build Docker image with Depot
28+ uses : depot/build-push-action@v1
29+ with :
30+ project : kcld4zgwzx
31+ token : ${{ secrets.DEPOT_TOKEN }}
32+ context : .
33+ file : ./Dockerfile_backend_ee
34+ push : false
35+ build-args : |
36+ COMMIT_SHA=${{ github.sha }}
2837
2938 - name : Deps
3039 run : go get -v ./...
You can’t perform that action at this time.
0 commit comments