diff --git a/.github/workflows/ghcr_edge.yml b/.github/workflows/ghcr_edge.yml index 74197e0..16a7561 100644 --- a/.github/workflows/ghcr_edge.yml +++ b/.github/workflows/ghcr_edge.yml @@ -21,5 +21,7 @@ jobs: run: | docker build . -f Dockerfile.alpine -t ${{ github.repository }}:edge-alpine docker build . -f Dockerfile.debian -t ${{ github.repository }}:edge-debian - docker push ${{ github.repository }}:edge-alpine - docker push ${{ github.repository }}:edge-debian + docker tag ${{ github.repository }}:alpine ghcr.io/${{ github.repository }}:${{ github.ref_name }}-alpine + docker tag ${{ github.repository }}:debian ghcr.io/${{ github.repository }}:${{ github.ref_name }}-debian + docker push ghcr.io/${{ github.repository }}:edge-alpine + docker push ghcr.io/${{ github.repository }}:edge-debian diff --git a/.github/workflows/ghcr_stable.yml b/.github/workflows/ghcr_stable.yml index 984e66e..b7edbe2 100644 --- a/.github/workflows/ghcr_stable.yml +++ b/.github/workflows/ghcr_stable.yml @@ -21,9 +21,11 @@ jobs: run: | docker build . -f Dockerfile.alpine -t ${{ github.repository }}:alpine docker build . -f Dockerfile.debian -t ${{ github.repository }}:debian - docker tag ${{ github.repository }}:alpine ${{ github.repository }}:${{ github.ref_name }}-alpine - docker tag ${{ github.repository }}:debian ${{ github.repository }}:${{ github.ref_name }}-debian - docker push ${{ github.repository }}:alpine - docker push ${{ github.repository }}:debian - docker push ${{ github.repository }}:${{ github.ref_name }}-alpine - docker push ${{ github.repository }}:${{ github.ref_name }}-debian + docker tag ${{ github.repository }}:alpine ghcr.io/${{ github.repository }}:alpine + docker tag ${{ github.repository }}:debian ghcr.io/${{ github.repository }}:debian + docker tag ${{ github.repository }}:alpine ghcr.io/${{ github.repository }}:${{ github.ref_name }}-alpine + docker tag ${{ github.repository }}:debian ghcr.io/${{ github.repository }}:${{ github.ref_name }}-debian + docker push ghcr.io/${{ github.repository }}:alpine + docker push ghcr.io/${{ github.repository }}:debian + docker push ghcr.io/${{ github.repository }}:${{ github.ref_name }}-alpine + docker push ghcr.io/${{ github.repository }}:${{ github.ref_name }}-debian