Skip to content

Commit

Permalink
update tagging
Browse files Browse the repository at this point in the history
  • Loading branch information
strangiato committed Sep 5, 2024
1 parent a521c23 commit 964d3d5
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions .github/workflows/workflow-build-image.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -75,14 +75,19 @@ jobs:
path_context: ${{ inputs.context }}
builder_image: ${{ inputs.base-image }}
image: ${{ inputs.image-name }}
tags: ${{ steps.tags.outputs.latest_tag }} ${{ steps.tags.outputs.full_version_tag }} ${{ steps.tags.outputs.minor_version_tag }} ${{ steps.tags.outputs.date_tag }}

tags: ${{ steps.tags.outputs.latest_tag }}

- name: Add tags
run: |
docker tag ${{ inputs.image-name }}:${{ steps.tags.outputs.latest_tag }} ${{ steps.tags.outputs.full_version_tag }}
docker tag ${{ inputs.image-name }}:${{ steps.tags.outputs.latest_tag }} ${{ steps.tags.outputs.minor_version_tag }}
docker tag ${{ inputs.image-name }}:${{ steps.tags.outputs.latest_tag }} ${{ steps.tags.outputs.date_tag }}
- name: Push-Image
id: push-to-azure
uses: redhat-actions/push-to-registry@v2
with:
image: ${{ steps.build_image.outputs.image }}
tags: ${{ steps.build_image.outputs.tags }}
tags: ${{ steps.tags.outputs.latest_tag }} ${{ steps.tags.outputs.full_version_tag }} ${{ steps.tags.outputs.minor_version_tag }} ${{ steps.tags.outputs.date_tag }}
registry: ${{ inputs.registry }}
username: ${{ secrets.registry-username }}
password: ${{ secrets.registry-password }}

0 comments on commit 964d3d5

Please sign in to comment.