Skip to content

Commit

Permalink
Update CI.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
radumarias authored Jun 7, 2024
1 parent 2c79e37 commit c3c52ac
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -162,9 +162,9 @@ jobs:
env:
# Hostname of your registry
REGISTRY: docker.io
REGISTRY_REPO: xorio42
REGISTRY_USER: xorio42
# Image repository, without hostname and tag
IMAGE_NAME: ${{ github.event.repository.name }}-${{ needs.check_version.outputs.version }}-x86_64.tar.gz
IMAGE_NAME: ${{ github.event.repository.name }}
IMAGE_TAG: latest
SHA: ${{ github.event.pull_request.head.sha || github.event.after }}
steps:
Expand All @@ -189,8 +189,7 @@ jobs:
- name: Build push = ${{ github.event_name == 'push' && needs.check_version.outputs.version_changed == 'true' }}"
uses: docker/build-push-action@v5
with:
context: .
tags: ${{ env.REGISTRY_REPO }}/${{ env.IMAGE_NAME }}:${{ env.IMAGE_TAG }}
push: ${{ github.event_name == 'push' && needs.check_version.outputs.version_changed == 'true' }}
tags: ${{ env.REGISTRY_USER }}/${{ env.IMAGE_NAME }}:${{ env.IMAGE_TAG }}
sbom: true
provenance: true
push: ${{ github.event_name == 'push' && needs.check_version.outputs.version_changed == 'true' }}

0 comments on commit c3c52ac

Please sign in to comment.