diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index 5b89319..745e2af 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -50,8 +50,8 @@ jobs: uses: redhat-actions/push-to-registry@5ed88d269cf581ea9ef6dd6806d01562096bee9c # v2.8 id: push with: - image: ${{ steps.build_image.outputs.image }} - tags: ${{ steps.build_image.outputs.tags }} + image: ghcr.io/${{ github.repository }} + tags: ${{ github.ref_name }} registry: ghcr.io/${{ github.repository }} username: ${{ github.actor }} password: ${{ github.token }}