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