Skip to content

Commit

Permalink
Adding version to container build-args
Browse files Browse the repository at this point in the history
  • Loading branch information
securitym0nkey committed May 27, 2024
1 parent 14bb51a commit 45090be
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/container.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ on:
env:
REGISTRY: ghcr.io
IMAGE_NAME: ${{ github.repository }}
ICALM_VERSION: ${{ github.ref_name }}

jobs:
build:
Expand Down Expand Up @@ -39,6 +40,8 @@ jobs:
id: container-build
uses: docker/build-push-action@v5
with:
context: .
push: ${{ github.event_name != 'pull_request' }}
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labeles }}
build-args: tags=${{ env.ICALM_VERSION }}

0 comments on commit 45090be

Please sign in to comment.