Skip to content

Commit bc6855f

Browse files
authored
Merge branch 'hyperledger:main' into feature/docker-release-loadgen
2 parents 471e7df + ba3ba55 commit bc6855f

2 files changed

Lines changed: 174 additions & 196 deletions

File tree

.github/workflows/docker-release.yml

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,13 @@ jobs:
3333
username: ${{ secrets.DOCKERHUB_USERNAME }}
3434
password: ${{ secrets.DOCKERHUB_TOKEN }}
3535

36+
- name: Log in to GitHub Container Registry
37+
uses: docker/login-action@v3
38+
with:
39+
registry: ghcr.io
40+
username: ${{ github.actor }}
41+
password: ${{ secrets.GITHUB_TOKEN }}
42+
3643
- name: Extract and Validate Version from Tag
3744
id: extract
3845
run: |
@@ -72,8 +79,10 @@ jobs:
7279
platforms: linux/amd64,linux/arm64,linux/s390x
7380
push: true
7481
tags: |
75-
docker.io/${{ env.IMAGE_PREFIX }}/fabric-x-committer:latest
7682
docker.io/${{ env.IMAGE_PREFIX }}/fabric-x-committer:${{ env.VERSION }}
83+
docker.io/${{ env.IMAGE_PREFIX }}/fabric-x-committer:latest
84+
ghcr.io/${{ env.IMAGE_PREFIX }}/fabric-x-committer:${{ env.VERSION }}
85+
ghcr.io/${{ env.IMAGE_PREFIX }}/fabric-x-committer:latest
7786
build-args: |
7887
BIN=committer
7988
ARCHBIN_PATH=archbin
@@ -106,8 +115,10 @@ jobs:
106115
platforms: linux/amd64,linux/arm64,linux/s390x
107116
push: true
108117
tags: |
109-
docker.io/${{ env.IMAGE_PREFIX }}/fabric-x-committer-test-node:latest
110118
docker.io/${{ env.IMAGE_PREFIX }}/fabric-x-committer-test-node:${{ env.VERSION }}
119+
docker.io/${{ env.IMAGE_PREFIX }}/fabric-x-committer-test-node:latest
120+
ghcr.io/${{ env.IMAGE_PREFIX }}/fabric-x-committer-test-node:${{ env.VERSION }}
121+
ghcr.io/${{ env.IMAGE_PREFIX }}/fabric-x-committer-test-node:latest
111122
build-args: |
112123
ARCHBIN_PATH=archbin
113124
cache-from: type=registry,ref=docker.io/${{ env.IMAGE_PREFIX }}/fabric-x-committer-test-node:buildcache

0 commit comments

Comments
 (0)