Skip to content

Commit

Permalink
AB#468871 Trying to fix tagging ref
Browse files Browse the repository at this point in the history
  • Loading branch information
Brendan Plougonven committed Jan 21, 2025
1 parent a8223a5 commit 2b6ab7b
Showing 1 changed file with 8 additions and 9 deletions.
17 changes: 8 additions & 9 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ on:

env:
REGISTRY: ghcr.io
IMAGE_NAME: ${{ github.repository }}
REPOSITORY_NAME: ${{ github.repository }}

jobs:

Expand All @@ -32,11 +32,11 @@ jobs:
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Extract metadata (tags, labels) for Docker
id: meta
uses: docker/metadata-action@v5
with:
images: ${{ env.REGISTRY }}/infovista-opensource/mysql8-build-lnx8
# - name: Extract metadata (tags, labels) for Docker
# id: meta
# uses: docker/metadata-action@v5
# with:
# images: ${{ env.REGISTRY }}/${{ env.REPOSITORY_NAME }}/mysql8-build-lnx8

- name: Build and push Docker image
id: push
Expand All @@ -45,6 +45,5 @@ jobs:
context: ./mysql8-build-lnx8
file: ./mysql8-build-lnx8/Dockerfile
push: true
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
# tags: infovista-opensource/mysql8-build-lnx8:${{ github.ref_name }}
tags: ${{ env.REGISTRY }}/${{ env.REPOSITORY_NAME }}/mysql8-build-lnx8:${{ github.ref_name }}
# labels: ${{ steps.meta.outputs.labels }}

0 comments on commit 2b6ab7b

Please sign in to comment.