forked from teemtee/tmt
-
Notifications
You must be signed in to change notification settings - Fork 0
39 lines (37 loc) · 1.28 KB
/
publish-images.yml
File metadata and controls
39 lines (37 loc) · 1.28 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
name: publish_images
on: workflow_dispatch
jobs:
publish-images:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- name: Build - tmt
uses: redhat-actions/buildah-build@v2
id: build-image-tmt
with:
image: tmt
containerfiles: ./containers/Containerfile.mini
- name: Build - tmt-all
uses: redhat-actions/buildah-build@v2
id: build-image-tmt-all
with:
image: tmt-all
containerfiles: ./containers/Containerfile.full
- name: Push To quay.io - tmt
id: push-to-quay-tmt
uses: redhat-actions/push-to-registry@v2
with:
image: ${{ steps.build-image-tmt.outputs.image }}
tags: ${{ steps.build-image-tmt.outputs.tags }}
registry: quay.io/teemtee
username: teemtee+github_action
password: ${{ secrets.QUAY_TEEMTEE_SECRET }}
- name: Push To quay.io - tmt-all
id: push-to-quay-tmt-all
uses: redhat-actions/push-to-registry@v2
with:
image: ${{ steps.build-image-tmt-all.outputs.image }}
tags: ${{ steps.build-image-tmt-all.outputs.tags }}
registry: quay.io/teemtee
username: teemtee+github_action
password: ${{ secrets.QUAY_TEEMTEE_SECRET }}