Skip to content
This repository was archived by the owner on Oct 21, 2025. It is now read-only.

Commit 8373d67

Browse files
committed
fix(ci): fix retagging as stable
supposedly that's a cleaner approach
1 parent 0ce48ac commit 8373d67

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

.github/workflows/tag-stable.yml

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -41,16 +41,14 @@ jobs:
4141
env:
4242
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
4343
run: |
44-
echo $GITHUB_TOKEN | docker login ghcr.io -u cosmium-os --password-stdin
44+
echo $GITHUB_TOKEN | podman login -u cosmium-os --password-stdin ghcr.io
4545
46-
- name: Download custom image and tag as stable
46+
- name: Copy custom image and tag it as stable
4747
env:
4848
IMAGE: ${{ inputs.image }}
4949
run: |
50-
docker pull ghcr.io/cosmium-os/${IMAGE}:latest
51-
docker tag ghcr.io/cosmium-os/${IMAGE}:latest ghcr.io/cosmium-os/${IMAGE}:stable
52-
docker push ghcr.io/cosmium-os/${IMAGE}:stable
50+
skopeo copy docker://ghcr.io/cosmium-os/${IMAGE}:latest docker://ghcr.io/cosmium-os/${IMAGE}:stable
5351
5452
- name: Log out of GitHub Container Registry
5553
run: |
56-
docker logout ghcr.io
54+
podman logout ghcr.io

0 commit comments

Comments
 (0)