Skip to content

Commit 5dd74b0

Browse files
committed
publish to ghcr
1 parent 855fc40 commit 5dd74b0

2 files changed

Lines changed: 7 additions & 3 deletions

File tree

.github/workflows/publish-develop-docker.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,10 @@ jobs:
1818
with:
1919
username: ${{ secrets.DOCKERHUB_USERNAME }}
2020
password: ${{ secrets.DOCKERHUB_TOKEN }}
21-
- name: Build and push
21+
- name: Build and push to Docker Hub
2222
uses: docker/build-push-action@v6
2323
with:
2424
push: true
2525
tags: archmonger/conreq:develop
26+
- name: Push to GitHub Container Registry
27+
run: docker push ghcr.io/archmonger/conreq:develop

.github/workflows/publish-latest-docker.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,10 @@ jobs:
1717
with:
1818
username: ${{ secrets.DOCKERHUB_USERNAME }}
1919
password: ${{ secrets.DOCKERHUB_TOKEN }}
20-
- name: Build and push
20+
- name: Build and push to Docker Hub
2121
uses: docker/build-push-action@v6
2222
with:
2323
push: true
24-
tags: archmonger/conreq:latest
24+
tags: archmonger/conreq:latest,archmonger/conreq:${{ github.event.release.tag_name }}
25+
- name: Push to GitHub Container Registry
26+
run: docker push ghcr.io/archmonger/conreq:latest && docker push ghcr.io/archmonger/conreq:${{ github.event.release.tag_name }}

0 commit comments

Comments
 (0)