Skip to content

Commit

Permalink
ci(Dockerfile): try to fix
Browse files Browse the repository at this point in the history
  • Loading branch information
wohenbushuang committed Apr 6, 2024
1 parent 795c94e commit ea31bd6
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/docker-publish-latest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,9 @@ jobs:
uses: docker/metadata-action@96383f45573cb7f253c731d3b3ab81c87ef81934 # v5.0.0
with:
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}

- name: Test
run: echo ${{ tojson(steps.meta.outputs) }}

# Build and push Docker image with Buildx (don't push on PR)
# https://github.com/docker/build-push-action
Expand All @@ -92,8 +95,8 @@ jobs:
push: ${{ github.event_name != 'pull_request' }}
tags: |
${{ env.IMAGE_NAME }}:${{ matrix.scheme }}
${{ env.IMAGE_NAME }}:${{ steps.meta.outputs.tags }}-${{ matrix.scheme }}
${{ env.IMAGE_NAME }}:${{ steps.meta.outputs.tags }}-${{ matrix.scheme }}-${{ matrix.variant }}
${{ env.IMAGE_NAME }}:latest-${{ matrix.scheme }}
${{ env.IMAGE_NAME }}:latest-${{ matrix.scheme }}-${{ matrix.variant }}
build-args: |
variant=${{ matrix.variant }}
scheme=${{ matrix.scheme }}
Expand Down

0 comments on commit ea31bd6

Please sign in to comment.