diff --git a/.github/workflows/template_gitops.yml b/.github/workflows/template_gitops.yml index 44d15fc..4679a37 100644 --- a/.github/workflows/template_gitops.yml +++ b/.github/workflows/template_gitops.yml @@ -17,6 +17,10 @@ on: required: false type: string default: "false" + docker-disable-retagging: + required: false + type: string + default: "false" docker-file: required: false type: string @@ -109,6 +113,7 @@ jobs: docker-build-secret-files: ${{ secrets.docker-build-secret-files }} docker-build-target: ${{ inputs.docker-build-target }} docker-build-provenance: ${{ inputs.docker-build-provenance }} + docker-disable-retagging: ${{ inputs.docker-disable-retagging }} docker-file: ${{ inputs.docker-file }} docker-image: ${{ inputs.docker-image }} gitops-organization: ${{ inputs.gitops-organization }} diff --git a/README.md b/README.md index 4d2f89e..c00a092 100644 --- a/README.md +++ b/README.md @@ -127,6 +127,8 @@ jobs: docker-build-target: "any target" # optional: set the provenance level of the docker build, default: "false" docker-build-provenance: "" + # optional: should the last stage image be retagged for the release image, default: false + docker-disable-retagging: true # optional: path to the Dockerfile, default: ./Dockerfile docker-file: # optional: name of the docker image, default: private/