Skip to content

Commit bb26625

Browse files
authored
fix: update release process with dockerhub login (#30)
1 parent 7b801b7 commit bb26625

File tree

1 file changed

+13
-5
lines changed

1 file changed

+13
-5
lines changed

.github/workflows/release.yaml

Lines changed: 13 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -28,16 +28,24 @@ jobs:
2828
id: get_version
2929
run: echo ::set-output name=VERSION::${GITHUB_REF#refs/tags/v}
3030

31-
- name: Log in to the Container registry
31+
- name: Set up Docker Buildx
32+
uses: docker/setup-buildx-action@v1
33+
34+
- name: Login to Docker Hub
3235
uses: docker/login-action@v1
36+
id: configure-login-dockerhub
3337
with:
34-
registry: ${{ env.REGISTRY }}
38+
username: ${{ secrets.DOCKER_USERNAME }}
39+
password: ${{ secrets.DOCKER_PASSWORD }}
40+
41+
- name: Docker Login
42+
uses: docker/login-action@v1
43+
id: configure-login-ghcr
44+
with:
45+
registry: ghcr.io
3546
username: ${{ github.actor }}
3647
password: ${{ secrets.GITHUB_TOKEN }}
3748

38-
- name: Set up Docker Buildx
39-
uses: docker/setup-buildx-action@v1
40-
4149
- name: Build and push Docker image
4250
run: make publish
4351
env:

0 commit comments

Comments
 (0)