Skip to content

Commit

Permalink
Building jeanlaurent/whale
Browse files Browse the repository at this point in the history
Signed-off-by: Jean-Laurent de Morlhon <[email protected]>
  • Loading branch information
jeanlaurent committed Jan 24, 2024
1 parent 4a675a3 commit e32c789
Showing 1 changed file with 12 additions and 23 deletions.
35 changes: 12 additions & 23 deletions .github/workflows/push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,37 +12,26 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v3

- name: Login to Docker Hub
uses: docker/login-action@v2
with:
username: dockerbuildbot
password: ${{ secrets.DOCKERBUILDBOT_WRITE_PAT }}

- name: Generate app token
id: app_token
uses: tibdex/github-app-token@v1
with:
app_id: ${{ vars.DOCKER_READ_APP_ID }}
private_key: ${{ secrets.DOCKER_READ_APP_PRIVATE_KEY }}


- name: Set up QEMU
uses: docker/setup-qemu-action@v2

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2

- name: Login to DockerHub
if: github.event_name != 'pull_request'
uses: docker/login-action@v2
with:
driver: cloud
use: true
install: true
endpoint: docker/platform-experience
version: https://github.com/docker/buildx-private.git#cloud
env:
GIT_AUTH_TOKEN: ${{ steps.app_token.outputs.token }}

username: jeanlaurent
password: ${{ secrets.DOCKER_PASSWORD }}

- name: Creating Docker Image Labels
id: meta
uses: docker/metadata-action@v4
with:
images: |
docker/jlwhale
jeanlaurent/whale
tags: |
type=ref,event=branch
type=ref,event=tag
Expand Down

0 comments on commit e32c789

Please sign in to comment.