Skip to content

Commit

Permalink
adjust docker deploy workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
marvin-j97 committed Jan 26, 2024
1 parent cacc45e commit dba2034
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 8 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/ghcr_edge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
14 changes: 8 additions & 6 deletions .github/workflows/ghcr_stable.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit dba2034

Please sign in to comment.