We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8b30efb commit c3b1253Copy full SHA for c3b1253
.github/workflows/publish-docker-image.yml
@@ -0,0 +1,22 @@
1
+name: Publish Docker Image
2
+
3
+on:
4
+ push:
5
+ branches:
6
+ - 'releases/**'
7
8
+jobs:
9
+ publish-docker-image:
10
+ runs-on: ubuntu-18.04
11
12
+ steps:
13
+ - uses: actions/checkout@v2
14
15
+ - name: Publish Docker image
16
+ uses: docker/build-push-action@v1
17
+ with:
18
+ username: ${{ secrets.DOCKER_USERNAME }}
19
+ password: ${{ secrets.DOCKER_PASSWORD }}
20
+ repository: tschaffter/${{ github.event.repository.name }}
21
+ tag_with_ref: true
22
+ push: ${{ startsWith(github.ref, 'refs/heads/') }}
0 commit comments