We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a2d324c commit 5e2bfe9Copy full SHA for 5e2bfe9
.github/workflows/docker-image.yml
@@ -0,0 +1,20 @@
1
+name: Build and Publish image to Docker Hub
2
+
3
+on:
4
+ push:
5
+ tags:
6
+ - "*.RELEASE"
7
8
+jobs:
9
+ publish_images:
10
+ runs-on: ubuntu-latest
11
+ steps:
12
+ - name: checkout
13
+ uses: actions/checkout@v4
14
+ - name: build image
15
+ run: docker build . --file Dockerfile --tag cmometadb/label-generator:${{ github.ref_name }}
16
+ - name: push image
17
+ run: |
18
+ docker login -u ${{ secrets.DOCKERHUB_USERNAME }} -p ${{ secrets.DOCKERHUB_TOKEN }}
19
+ docker push cmometadb/label-generator:${{ github.ref_name }}
20
0 commit comments