Skip to content

Commit c493c6a

Browse files
add debug file
1 parent f8b52ab commit c493c6a

File tree

1 file changed

+33
-0
lines changed

1 file changed

+33
-0
lines changed

.github/workflows/tunk.yaml

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -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+
with:
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

Comments
 (0)