Skip to content

Commit b5eb042

Browse files
committed
Build Docker images for published releases.
1 parent b460630 commit b5eb042

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

.github/workflows/docker.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
name: Publish Docker image
2+
3+
on:
4+
release:
5+
types:
6+
- published
7+
8+
jobs:
9+
push_to_registry:
10+
name: Docker image
11+
runs-on: ubuntu-latest
12+
steps:
13+
- uses: actions/checkout@v2
14+
15+
- uses: docker/build-push-action@v1
16+
with:
17+
repository: ${{ secrets.DOCKER_USERNAME }}/hdcquery
18+
username: ${{ secrets.DOCKER_USERNAME }}
19+
password: ${{ secrets.DOCKER_PASSWORD }}
20+
tags: latest
21+
tag_with_ref: true

0 commit comments

Comments
 (0)