Skip to content

Commit

Permalink
💚 Trying to fix CI build
Browse files Browse the repository at this point in the history
  • Loading branch information
Heroyt committed Jun 16, 2024
1 parent cee9370 commit 4356db4
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions .github/workflows/docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,12 +44,6 @@ jobs:
uses: docker/metadata-action@v5
with:
images: ${{ env.REGISTRY_IMAGE }}
tags: |
type=schedule,pattern={{date 'YYYYMMDD'}}
type=semver,pattern={{version}}
type=raw,value=latest
type=raw,value=roadrunner
type=raw,value=roadrunner-latest

- name: Set up QEMU
uses: docker/setup-qemu-action@v3
Expand All @@ -64,17 +58,17 @@ jobs:
password: ${{ secrets.DOCKERHUB_TOKEN }}

- name: Build the Docker image
id: build
uses: docker/build-push-action@v5
with:
context: .
file: ./docker/Dockerfile
platforms: ${{ matrix.platform }}
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
outputs: type=image,name=${{ env.REGISTRY_IMAGE }},push-by-digest=true,name-canonical=true,push=true
build-args: |
RT_TOKEN=${{ github.token }}
BUILD_TIME=$(date +%FT%T%z)
platforms: ${{ matrix.platform }}
labels: ${{ steps.meta.outputs.labels }}
outputs: type=image,name=${{ env.REGISTRY_IMAGE }},push-by-digest=true,name-canonical=true,push=true

- name: Export digest
run: |
Expand Down Expand Up @@ -110,6 +104,12 @@ jobs:
uses: docker/metadata-action@v5
with:
images: ${{ env.REGISTRY_IMAGE }}
tags: |
type=schedule,pattern={{date 'YYYYMMDD'}}
type=semver,pattern={{version}}
type=raw,value=latest
type=raw,value=roadrunner
type=raw,value=roadrunner-latest
- name: Login to Docker Hub
uses: docker/login-action@v3
Expand Down

0 comments on commit 4356db4

Please sign in to comment.