Skip to content

Commit e32c789

Browse files
committed
Building jeanlaurent/whale
Signed-off-by: Jean-Laurent de Morlhon <[email protected]>
1 parent 4a675a3 commit e32c789

File tree

1 file changed

+12
-23
lines changed

1 file changed

+12
-23
lines changed

.github/workflows/push.yml

+12-23
Original file line numberDiff line numberDiff line change
@@ -12,37 +12,26 @@ jobs:
1212
steps:
1313
- name: Checkout
1414
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+
2919
- name: Set up Docker Buildx
3020
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
3125
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+
4029
- name: Creating Docker Image Labels
4130
id: meta
4231
uses: docker/metadata-action@v4
4332
with:
4433
images: |
45-
docker/jlwhale
34+
jeanlaurent/whale
4635
tags: |
4736
type=ref,event=branch
4837
type=ref,event=tag

0 commit comments

Comments
 (0)