Skip to content

Commit 8e372c4

Browse files
authored
Update docker action (#716)
1 parent 4adc1d1 commit 8e372c4

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

.github/workflows/docker_publish.yml

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
steps:
1717
- name: Check out the repo
1818
uses: actions/checkout@v2
19-
- name: Push to Docker Hub
19+
- name: Push stable version to Docker Hub
2020
if: "!github.event.release.prerelease"
2121
uses: docker/build-push-action@v1
2222
with:
@@ -25,3 +25,13 @@ jobs:
2525
repository: ubercadence/web
2626
tag_with_ref: true
2727
tags: latest
28+
29+
- name: Push beta version to Docker Hub
30+
if: github.event.release.prerelease
31+
uses: docker/build-push-action@v1
32+
with:
33+
username: ${{ secrets.CADENCE_WEB_DOCKERHUB_USERNAME }}
34+
password: ${{ secrets.CADENCE_WEB_DOCKERHUB_TOKEN }}
35+
repository: ubercadence/web
36+
tag_with_ref: true
37+
tags: beta

0 commit comments

Comments
 (0)