-
Notifications
You must be signed in to change notification settings - Fork 14
41 lines (35 loc) · 1.06 KB
/
release-testsuite.yaml
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
40
41
name: CI testsuite release flow
on:
workflow_dispatch:
defaults:
run:
shell: bash
jobs:
release-build:
runs-on: ubuntu-20.04
steps:
- name: Checkout sources
uses: actions/checkout@v3
with:
fetch-depth: 0
# note the version is hardcoded here because
# we expect to refresh from main branch
- name: Build Image
id: build-image
uses: redhat-actions/buildah-build@v2
with:
image: numaresources-operator-tests
tags: 4.17.999-snapshot
dockerfiles: |
./Dockerfile.tests
- name: Push to quay
id: push-to-quay
uses: redhat-actions/push-to-registry@v2
with:
image: ${{ steps.build-image.outputs.image }}
tags: ${{ steps.build-image.outputs.tags }}
registry: quay.io/openshift-kni
username: ${{ secrets.QUAY_IO_USERNAME }}
password: ${{ secrets.QUAY_IO_ROBOTOKEN }}
- name: Print image url
run: echo "Image pushed to ${{ steps.push-to-quay.outputs.registry-paths }}"