@@ -16,42 +16,41 @@ jobs:
16
16
steps :
17
17
-
18
18
name : Checkout
19
- uses : actions/checkout@v2
19
+ uses : actions/checkout@v4
20
20
-
21
21
name : Docker meta
22
22
id : meta
23
- uses : docker/metadata-action@v3
23
+ uses : docker/metadata-action@v5
24
24
with :
25
25
# list of Docker images to use as base name for tags
26
26
images : |
27
- amazeeio /aergia
28
- ghcr.io/amazeeio /aergia
27
+ uselagoon /aergia
28
+ ghcr.io/uselagoon /aergia
29
29
-
30
30
name : Set up QEMU
31
- uses : docker/setup-qemu-action@v1
31
+ uses : docker/setup-qemu-action@v3
32
32
-
33
33
name : Set up Docker Buildx
34
- uses : docker/setup-buildx-action@v1
34
+ uses : docker/setup-buildx-action@v3
35
35
-
36
36
name : Login to DockerHub
37
- if : github.event_name != 'pull_request'
38
- uses : docker/login-action@v1
37
+ uses : docker/login-action@v3
39
38
with :
40
39
username : ${{ secrets.DOCKERHUB_USERNAME }}
41
40
password : ${{ secrets.DOCKERHUB_TOKEN }}
42
41
-
43
42
name : Login to GHCR
44
- if : github.event_name != 'pull_request'
45
- uses : docker/login-action@v1
43
+ uses : docker/login-action@v3
46
44
with :
47
45
registry : ghcr.io
48
46
username : ${{ github.repository_owner }}
49
47
password : ${{ secrets.GITHUB_TOKEN }}
50
48
-
51
49
name : Build and push
52
- uses : docker/build-push-action@v2
50
+ uses : docker/build-push-action@v5
53
51
with :
54
52
context : .
55
- push : ${{ github.event_name != 'pull_request' }}
53
+ platforms : linux/amd64,linux/arm64
54
+ push : true
56
55
tags : ${{ steps.meta.outputs.tags }}
57
56
labels : ${{ steps.meta.outputs.labels }}
0 commit comments