diff --git a/README.md b/README.md index abe8bd4..eaaf6df 100644 --- a/README.md +++ b/README.md @@ -282,6 +282,7 @@ Notes: |-----------------|---------------------| | `docker-digest` | Digest of the image | | `docker-tag` | Tag of the image | +| `gitops-tag` | Non-timestamped tag (see [GitOps tag](#gitops-tag)). Push it alongside `docker-tag` when building the image outside the action, otherwise the release retag can't find it | ## Image tags & Flux image automation diff --git a/action.yml b/action.yml index 8773078..3533865 100644 --- a/action.yml +++ b/action.yml @@ -135,6 +135,9 @@ outputs: docker-digest: description: 'Docker digest' value: ${{ steps.docker_merge.outputs.digest || steps.docker_build.outputs.digest || steps.docker_retag.outputs.digest }} + gitops-tag: + description: 'Non-timestamped tag written to the GitOps repo; push it when building outside the action so the release retag finds the image' + value: ${{ steps.preparation.outputs.gitops_tag }} runs: using: "composite"