File tree Expand file tree Collapse file tree 1 file changed +15
-0
lines changed
Expand file tree Collapse file tree 1 file changed +15
-0
lines changed Original file line number Diff line number Diff line change @@ -115,6 +115,21 @@ jobs:
115115 cache-from : type=gha
116116 cache-to : type=gha,mode=max
117117
118+ # master branch -> :latest container tag
119+ - name : Build and push :latest
120+ id : docker_build
121+ if : ${{ github.ref }} == "refs/heads/master"
122+ uses : docker/build-push-action@v6
123+ with :
124+ context : ./
125+ file : ./Dockerfile
126+ push : true
127+ tags : |
128+ ${{ secrets.DOCKER_HUB_USERNAME }}/sockpuppetbrowser:latest
129+ platforms : linux/amd64,linux/arm64
130+ cache-from : type=gha
131+ cache-to : type=gha,mode=max
132+
118133 - name : Image digest
119134 run : echo step SHA ${{ steps.vars.outputs.sha_short }} tag ${{steps.vars.outputs.tag}} branch ${{steps.vars.outputs.branch}} digest ${{ steps.docker_build.outputs.digest }}
120135
You can’t perform that action at this time.
0 commit comments