File tree 2 files changed +9
-5
lines changed
2 files changed +9
-5
lines changed Original file line number Diff line number Diff line change 17
17
18
18
# Build Docker Image
19
19
- name : Build Docker image
20
- uses : docker/build-push-action@v1.1.0
20
+ uses : docker/build-push-action@v4
21
21
with :
22
22
path : .
23
23
push : false
Original file line number Diff line number Diff line change @@ -10,22 +10,26 @@ jobs:
10
10
main :
11
11
runs-on : ubuntu-latest
12
12
steps :
13
+ - name : Checkout
14
+ uses : actions/checkout@v3
15
+
13
16
- name : Set up QEMU
14
- uses : docker/setup-qemu-action@v1
17
+ uses : docker/setup-qemu-action@v2
15
18
16
19
- name : Set up Docker Buildx
17
- uses : docker/setup-buildx-action@v1
20
+ uses : docker/setup-buildx-action@v2
18
21
19
22
- name : Login to DockerHub
20
- uses : docker/login-action@v1
23
+ uses : docker/login-action@v2
21
24
with :
22
25
username : ${{ secrets.DOCKERHUB_USERNAME }}
23
26
password : ${{ secrets.DOCKERHUB_TOKEN }} # This is not the actual password of the user, just a token
24
27
25
28
- name : Build and push
26
29
id : docker_build
27
- uses : docker/build-push-action@v2
30
+ uses : docker/build-push-action@v4
28
31
with :
32
+ context : .
29
33
platforms : linux/amd64,linux/arm64
30
34
push : true
31
35
tags : spotify/techdocs:latest
You can’t perform that action at this time.
0 commit comments