diff --git a/.github/workflows/publish.yaml b/.github/workflows/publish.yaml index 6ca87b51..dbb627e2 100644 --- a/.github/workflows/publish.yaml +++ b/.github/workflows/publish.yaml @@ -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: @@ -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' @@ -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