Skip to content

Commit

Permalink
fix: checkout release tag before running container and binary releases (
Browse files Browse the repository at this point in the history
#171)

Signed-off-by: Michael Beemer <beeme1mr@users.noreply.github.com>
  • Loading branch information
beeme1mr authored Sep 23, 2022
1 parent 7559754 commit 50fe46f
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/release-please.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
- name: Checkout
uses: actions/checkout@v3
with:
submodules: recursive
ref: ${{ needs.release-please.outputs.release_tag_name }}

- name: Log in to the Container registry
uses: docker/login-action@f054a8b539a109f9f41c372932f1ae047eff08c9
Expand Down Expand Up @@ -71,7 +71,7 @@ jobs:
${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}:${{ needs.release-please.outputs.release_tag_name }}
labels: ${{ steps.meta.outputs.labels }}
build-args: |
VERSION=${{ steps.meta.outputs.tags }}
VERSION=${{ needs.release-please.outputs.release_tag_name }}
COMMIT=${{ github.sha }}
DATE=${{ steps.date.outputs.date }}
Expand All @@ -82,6 +82,8 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v3
with:
ref: ${{ needs.release-please.outputs.release_tag_name }}

- name: Set up Go
uses: actions/setup-go@v3
Expand Down

0 comments on commit 50fe46f

Please sign in to comment.