File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1717
1818 # Build Docker Image
1919 - name : Build Docker image
20- uses : docker/build-push-action@v1.1.0
20+ uses : docker/build-push-action@v4
2121 with :
2222 path : .
2323 push : false
Original file line number Diff line number Diff line change @@ -10,22 +10,26 @@ jobs:
1010 main :
1111 runs-on : ubuntu-latest
1212 steps :
13+ - name : Checkout
14+ uses : actions/checkout@v3
15+
1316 - name : Set up QEMU
14- uses : docker/setup-qemu-action@v1
17+ uses : docker/setup-qemu-action@v2
1518
1619 - name : Set up Docker Buildx
17- uses : docker/setup-buildx-action@v1
20+ uses : docker/setup-buildx-action@v2
1821
1922 - name : Login to DockerHub
20- uses : docker/login-action@v1
23+ uses : docker/login-action@v2
2124 with :
2225 username : ${{ secrets.DOCKERHUB_USERNAME }}
2326 password : ${{ secrets.DOCKERHUB_TOKEN }} # This is not the actual password of the user, just a token
2427
2528 - name : Build and push
2629 id : docker_build
27- uses : docker/build-push-action@v2
30+ uses : docker/build-push-action@v4
2831 with :
32+ context : .
2933 platforms : linux/amd64,linux/arm64
3034 push : true
3135 tags : spotify/techdocs:latest
You can’t perform that action at this time.
0 commit comments