File tree 1 file changed +13
-4
lines changed
1 file changed +13
-4
lines changed Original file line number Diff line number Diff line change 9
9
name : Docker Hub Build and Push (Multi-arch)
10
10
11
11
env :
12
- REPO_NAME : docker.io/ panubo/sshd
12
+ REPO_NAME : panubo/sshd
13
13
14
14
on :
15
15
schedule :
@@ -29,11 +29,12 @@ jobs:
29
29
30
30
- name : Docker meta
31
31
id : meta
32
- uses : docker/metadata-action@v3
32
+ uses : docker/metadata-action@v4
33
33
with :
34
34
# list of Docker images to use as base name for tags
35
35
images : |
36
- ${{ env.REPO_NAME }}
36
+ docker.io/${{ env.REPO_NAME }}
37
+ quay.io/${{ env.REPO_NAME }}
37
38
# generate Docker tags based on the following events/attributes
38
39
tags : |
39
40
type=schedule,pattern=weekly
42
43
type=semver,pattern={{major}}.{{minor}}
43
44
44
45
- name : Set up QEMU
45
- uses : docker/setup-qemu-action@v1
46
+ uses : docker/setup-qemu-action@v2
46
47
47
48
- name : Set up Docker Buildx
48
49
id : buildx
55
56
username : ${{ secrets.PANUBUILD_DOCKERHUB_USERNAME }}
56
57
password : ${{ secrets.PANUBUILD_DOCKERHUB_TOKEN }}
57
58
59
+ - name : Login to Quay.io
60
+ if : github.event_name != 'pull_request'
61
+ uses : docker/login-action@v2
62
+ with :
63
+ registry : quay.io
64
+ username : ${{ secrets.PANUBUILD_QUAYIO_USERNAME }}
65
+ password : ${{ secrets.PANUBUILD_QUAYIO_TOKEN }}
66
+
58
67
- name : Build and Push
59
68
uses : docker/build-push-action@v3
60
69
with :
You can’t perform that action at this time.
0 commit comments