Skip to content

Commit

Permalink
Hotfix to reimplement version injection in github actions (#49)
Browse files Browse the repository at this point in the history
* #48 Include IMAGE_VERSION build argument
* #48 Remove redundant debug build step
  • Loading branch information
danielemery authored Sep 24, 2023
1 parent f6fa26d commit 557f78d
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,9 @@ jobs:
runs-on: ubuntu-latest

steps:
- name: Extract version from github ref
run: echo "RELEASE_VERSION=${GITHUB_REF#refs/*/}" >> $GITHUB_ENV

- name: Download build artifacts
uses: actions/download-artifact@v3
with:
Expand All @@ -85,6 +88,8 @@ jobs:
push: true
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
build-args: |
IMAGE_VERSION=${{ env.RELEASE_VERSION }}
helm-publish:
needs:
Expand All @@ -102,12 +107,6 @@ jobs:
name: helm-chart
path: helm

- name: Print file contents
run: |
ls
ls helm
cat helm/Chart.yaml
- name: Configure AWS credentials
uses: aws-actions/configure-aws-credentials@v4
with:
Expand Down

0 comments on commit 557f78d

Please sign in to comment.