Skip to content
This repository was archived by the owner on Jun 16, 2026. It is now read-only.

Commit ca409c3

Browse files
committed
removes latest push
1 parent bc99d40 commit ca409c3

1 file changed

Lines changed: 5 additions & 14 deletions

File tree

.github/workflows/deploy.yml

Lines changed: 5 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,11 @@ on:
2727
required: false
2828
default: 'container'
2929
description: "The name of the artifact you are building. This is useful when a single pipeline builds more than a single artifact like a container with a shell inside and one without. If you build a single artifact - leave it empty."
30+
artifact-suffix:
31+
type: string
32+
required: false
33+
default: ''
34+
description: "Suffix used to look up build artifacts by name. Defaults to image-suffix when not set."
3035

3136
secrets:
3237
devguard-token:
@@ -80,17 +85,3 @@ jobs:
8085
run: crane push image.tar $(cat image-tag.txt)
8186
if: inputs.image-already-in-registry == false
8287

83-
- name: Push oci image to GitHub image Registry with latest
84-
run: |
85-
branch=${GITHUB_REF##*/}
86-
87-
if [ "${IMAGE_SUFFIX}" != "" ]; then
88-
name="ghcr.io/${{ github.repository }}/${IMAGE_SUFFIX}:$branch-latest"
89-
else
90-
name="ghcr.io/${{ github.repository }}:$branch-latest"
91-
fi
92-
93-
name=$(echo "$name" | tr '[:upper:]' '[:lower:]')
94-
crane copy $(cat image-tag.txt) $name
95-
env:
96-
IMAGE_SUFFIX: ${{ inputs.image-suffix }}

0 commit comments

Comments
 (0)