Skip to content

Commit af379c5

Browse files
committed
publish to docker hub
1 parent b975917 commit af379c5

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

.github/workflows/release.yml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,12 +27,18 @@ jobs:
2727
registry: rg.nl-ams.scw.cloud/cloud-skadi
2828
username: nologin
2929
password: ${{ secrets.SCALEWAY_TOKEN }}
30-
30+
- name: Login to Docker Hub
31+
uses: docker/login-action@v1.10.0
32+
with:
33+
username: ${{ secrets.DOCKER_HUB_USERNAME }}
34+
password: ${{ secrets.DOCKER_HUB_ACCESS_TOKEN }}
3135
- name: Docker meta
3236
id: meta
3337
uses: crazy-max/ghaction-docker-meta@v3.6.0
3438
with:
35-
images: rg.nl-ams.scw.cloud/cloud-skadi/gist-server
39+
images: |
40+
rg.nl-ams.scw.cloud/cloud-skadi/gist-server
41+
${{ secrets.DOCKER_HUB_USERNAME }}/gist-server
3642
tags: |
3743
type=semver,pattern={{version}}
3844
- name: Build with Gradle

0 commit comments

Comments
 (0)