File tree Expand file tree Collapse file tree 1 file changed +12
-3
lines changed
Expand file tree Collapse file tree 1 file changed +12
-3
lines changed Original file line number Diff line number Diff line change @@ -33,13 +33,22 @@ jobs:
3333 id : vars
3434 run : echo "TAG=${GITHUB_REF#refs/tags/}" >> $GITHUB_OUTPUT
3535
36+ - name : Set up QEMU
37+ uses : docker/setup-qemu-action@v3
38+
39+ - name : Set up Docker Buildx
40+ uses : docker/setup-buildx-action@v3
41+
3642 - name : Login to Docker Hub
3743 uses : docker/login-action@v3
3844 with :
3945 username : ${{ secrets.DOCKER_USERNAME }}
4046 password : ${{ secrets.DOCKER_PASSWORD }}
4147
4248 - name : Build and Push Image
43- run : |
44- docker build -t jawad4khan/devlake:${{ steps.vars.outputs.TAG }} ./backend
45- docker push jawad4khan/devlake:${{ steps.vars.outputs.TAG }}
49+ uses : docker/build-push-action@v5
50+ with :
51+ context : ./backend
52+ push : true
53+ platforms : linux/amd64
54+ tags : jawad4khan/devlake:${{ steps.vars.outputs.TAG }}
You can’t perform that action at this time.
0 commit comments