Skip to content

Commit

Permalink
Merge pull request #5 from cloudogu/feature/updateWorkflow
Browse files Browse the repository at this point in the history
  • Loading branch information
schnatterer authored May 8, 2023
2 parents 6d08e48 + cc32b9f commit 6e37586
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/automaticRelease.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ jobs:
id: compare_releases
run: |
eval $(scripts/checkHelmVersion.sh)
echo ::set-output name=triggerNewRelease::${triggerNewRelease}
echo ::set-output name=helmRelease::${helmRelease}
echo "triggerNewRelease=${triggerNewRelease}" | tee -a $GITHUB_OUTPUT
echo "helmRelease=${helmRelease}" | tee -a $GITHUB_OUTPUT
-
uses: stefanzweifel/git-auto-commit-action@v4
if: steps.compare_releases.outputs.triggerNewRelease == 'true'
Expand All @@ -43,4 +43,4 @@ jobs:
The image can be pulled with `$ docker pull ghcr.io/cloudogu/helm:${{ steps.compare_releases.outputs.helmRelease }}-1`
draft: false
prerelease: false
prerelease: false
6 changes: 3 additions & 3 deletions .github/workflows/publishImage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,14 +32,14 @@ jobs:
echo "GIT_SHA=$(echo ${{ github.sha }} | cut -c1-7)" >> $GITHUB_ENV
echo "GIT_REF=$(git symbolic-ref -q --short HEAD || git describe --tags --exact-match)" >> $GITHUB_ENV
- name: Login to GitHub Container Registry
uses: docker/login-action@v1
uses: docker/login-action@v2
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.CR_PAT }}
- name: Build and push
id: docker_build
uses: docker/build-push-action@v2
uses: docker/build-push-action@v4
with:
push: true
labels: |
Expand All @@ -51,4 +51,4 @@ jobs:
org.opencontainers.image.source=https://github.com/${{ github.repository }}
tags: ${{ env.TAGS }}
- name: Check manifest
run: docker buildx imagetools inspect ${{ env.GHCR_IMAGE }}:${{ env.VERSION }}
run: docker buildx imagetools inspect ${{ env.GHCR_IMAGE }}:${{ env.VERSION }}

0 comments on commit 6e37586

Please sign in to comment.