Skip to content

Commit

Permalink
get versions for tags
Browse files Browse the repository at this point in the history
  • Loading branch information
CindyvdVries committed Jun 14, 2024
1 parent 412abf1 commit 5d3b088
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions .github/workflows/docker_image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,13 @@ env:
jobs:
build:
runs-on: ubuntu-latest

steps:
- name: Checkout
uses: actions/checkout@v2
- name: Setup environment
uses: ./.github/workflows/setup_environment.yml
- name: bump version and update template_input.yaml
run: |
PROJECT_VERSION=$(poetry version --short)
echo "PROJECT_VERSION=$PROJECT_VERSION" >> $GITHUB_ENV
- name: Login to GitHub Container Registry
uses: docker/login-action@v3
Expand All @@ -32,5 +35,5 @@ jobs:
with:
context: .
push: true
tags: ${{ steps.meta.outputs.tags }}
tags: [${{ env.PROJECT_VERSION }}, latest]
labels: ${{ steps.meta.outputs.labels }}
Empty file.

0 comments on commit 5d3b088

Please sign in to comment.