Skip to content

Commit

Permalink
try adding a version
Browse files Browse the repository at this point in the history
  • Loading branch information
fengelniederhammer committed Nov 29, 2024
1 parent dbf0ad6 commit b85ae94
Showing 1 changed file with 13 additions and 3 deletions.
16 changes: 13 additions & 3 deletions .github/workflows/release-lapis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ jobs:
id: dockerMetadata
uses: docker/metadata-action@v5
with:
images: ${{ env.DOCKER_IMAGE_NAME }}
images: ${{ env.LAPIS_DOCKER_IMAGE_NAME }}
tags: |
type=raw,value="${{ steps.release.outputs.major }}.${{ steps.release.outputs.minor }}"
type=raw,value="${{ steps.release.outputs.major }}.${{ steps.release.outputs.minor }}.${{ steps.release.outputs.patch }}"
Expand All @@ -77,7 +77,17 @@ jobs:
platforms: ${{ github.ref == 'refs/heads/main' && 'linux/amd64,linux/arm64' || 'linux/amd64' }}
push: true
build-args: |
VERSION="${{ steps.release.outputs.major }}.${{ steps.release.outputs.minor }}.${{ steps.release.outputs.patch }}"
VERSION=${{ steps.release.outputs.major }}.${{ steps.release.outputs.minor }}.${{ steps.release.outputs.patch }}
- name: Docker metadata
if: ${{ steps.release.outputs.release_created }}
id: dockerMetadataDocs
uses: docker/metadata-action@v5
with:
images: ${{ env.DOCS_DOCKER_IMAGE_NAME }}
tags: |
type=raw,value=${{ steps.release.outputs.major }}.${{ steps.release.outputs.minor }}
type=raw,value=${{ steps.release.outputs.major }}.${{ steps.release.outputs.minor }}.${{ steps.release.outputs.patch }}
- name: Build and push LAPIS Docs image
uses: docker/build-push-action@v6
Expand All @@ -88,4 +98,4 @@ jobs:
cache-from: type=gha,scope=lapis-docs-${{ github.ref }}
cache-to: type=gha,mode=max,scope=lapis-docs-${{ github.ref }}
build-args: |
VERSION="${{ steps.release.outputs.major }}.${{ steps.release.outputs.minor }}.${{ steps.release.outputs.patch }}"
VERSION=${{ steps.release.outputs.major }}.${{ steps.release.outputs.minor }}.${{ steps.release.outputs.patch }}

0 comments on commit b85ae94

Please sign in to comment.