File tree 1 file changed +12
-23
lines changed
1 file changed +12
-23
lines changed Original file line number Diff line number Diff line change @@ -12,37 +12,26 @@ jobs:
12
12
steps :
13
13
- name : Checkout
14
14
uses : actions/checkout@v3
15
-
16
- - name : Login to Docker Hub
17
- uses : docker/login-action@v2
18
- with :
19
- username : dockerbuildbot
20
- password : ${{ secrets.DOCKERBUILDBOT_WRITE_PAT }}
21
-
22
- - name : Generate app token
23
- id : app_token
24
- uses : tibdex/github-app-token@v1
25
- with :
26
- app_id : ${{ vars.DOCKER_READ_APP_ID }}
27
- private_key : ${{ secrets.DOCKER_READ_APP_PRIVATE_KEY }}
28
-
15
+
16
+ - name : Set up QEMU
17
+ uses : docker/setup-qemu-action@v2
18
+
29
19
- name : Set up Docker Buildx
30
20
uses : docker/setup-buildx-action@v2
21
+
22
+ - name : Login to DockerHub
23
+ if : github.event_name != 'pull_request'
24
+ uses : docker/login-action@v2
31
25
with :
32
- driver : cloud
33
- use : true
34
- install : true
35
- endpoint : docker/platform-experience
36
- version : https://github.com/docker/buildx-private.git#cloud
37
- env :
38
- GIT_AUTH_TOKEN : ${{ steps.app_token.outputs.token }}
39
-
26
+ username : jeanlaurent
27
+ password : ${{ secrets.DOCKER_PASSWORD }}
28
+
40
29
- name : Creating Docker Image Labels
41
30
id : meta
42
31
uses : docker/metadata-action@v4
43
32
with :
44
33
images : |
45
- docker/jlwhale
34
+ jeanlaurent/whale
46
35
tags : |
47
36
type=ref,event=branch
48
37
type=ref,event=tag
You can’t perform that action at this time.
0 commit comments