Skip to content

Commit 834398c

Browse files
committed
new workflow for ghcr publishing
1 parent 67e721b commit 834398c

2 files changed

Lines changed: 11 additions & 5 deletions

File tree

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

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,4 +24,7 @@ jobs:
2424
push: true
2525
tags: archmonger/conreq:develop
2626
- name: Push to GitHub Container Registry
27-
run: docker push ghcr.io/archmonger/conreq:develop
27+
uses: matootie/github-docker@v3.0.0
28+
with:
29+
accessToken: ${{ github.token }}
30+
tag: develop

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

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,10 @@ jobs:
2222
with:
2323
push: true
2424
tags: archmonger/conreq:latest,archmonger/conreq:${{ github.event.release.tag_name }}
25-
- name: Push to GitHub Container Registry (latest)
26-
run: docker push ghcr.io/archmonger/conreq:latest && docker push ghcr.io/archmonger/conreq:${{ github.event.release.tag_name }}
27-
- name: Push to GitHub Container Registry (version tag)
28-
run: docker push ghcr.io/archmonger/conreq:${{ github.event.release.tag_name }}
25+
- name: Push to GitHub Container Registry
26+
uses: matootie/github-docker@v3.0.0
27+
with:
28+
accessToken: ${{ github.token }}
29+
tag: |
30+
latest
31+
${{ github.event.release.tag_name }}

0 commit comments

Comments
 (0)