Skip to content

Commit

Permalink
update cd
Browse files Browse the repository at this point in the history
  • Loading branch information
floreks committed Sep 28, 2023
1 parent 982fe79 commit ac8d8c7
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,9 @@ jobs:
check-latest: true
- run: PATH=$PATH:$GOPATH/bin make test

publish-helm:
publish:
name: Publish helm chart
runs-on: ubuntu-latest
needs: test
outputs:
version: ${{ steps.release.outputs.chart_version }}
steps:
Expand All @@ -49,9 +48,9 @@ jobs:
publish-docker:
name: Build and push agent container
runs-on: ubuntu-20.04
needs: publish-helm
needs: [test, publish]
env:
VERSION: ${{ needs.publish-helm.outputs.version }}
VERSION: ${{ needs.publish.outputs.version }}
permissions:
contents: 'read'
id-token: 'write'
Expand All @@ -70,7 +69,7 @@ jobs:
ghcr.io/pluralsh/deployment-operator
# generate Docker tags based on the following events/attributes
tags: |
type=semver,pattern={{version}},value=$VERSION
type=semver,pattern={{version}},value=${{VERSION}}
- name: Set up QEMU
uses: docker/setup-qemu-action@v2
- name: Set up Docker Buildx
Expand Down

0 comments on commit ac8d8c7

Please sign in to comment.