We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f8b52ab commit c493c6aCopy full SHA for c493c6a
.github/workflows/tunk.yaml
@@ -0,0 +1,33 @@
1
+
2
+name: Build and push docker image (production)
3
4
+on:
5
+ push:
6
+ branches:
7
+ - main
8
9
+jobs:
10
+ build-and-push:
11
+ runs-on: ubuntu-latest
12
13
+ steps:
14
+ - uses: actions/checkout@v4
15
+ - name: Build image
16
+ id: build-image
17
+ uses: redhat-actions/buildah-build@v2
18
+ with:
19
+ image: finlex
20
+ tags: productiontunk ${{ github.sha }}
21
+ containerfiles: |
22
+ ./Dockerfile
23
+ build-args: |
24
+ GIT_SHA=${{ github.sha }}
25
+ STAGING=false
26
+ - name: Push to quay.io
27
+ uses: redhat-actions/push-to-registry@v2
28
29
+ image: ${{ steps.build-image.outputs.image }}
30
+ tags: ${{ steps.build-image.outputs.tags }}
31
+ registry: quay.io/toska
32
+ username: toska+github
33
+ password: ${{ secrets.QUAY_IO_TOKEN }}
0 commit comments