Skip to content

Commit 0293678

Browse files
committed
chore(ci): tag with release names
1 parent e510896 commit 0293678

File tree

2 files changed

+27
-1
lines changed

2 files changed

+27
-1
lines changed

.github/workflows/batch-job.yml

+24
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: Batch Jobs
2+
3+
on:
4+
schedule: [cron: "0 */2 * * *"] # Every other hour on the hour
5+
workflow_dispatch:
6+
7+
concurrency:
8+
group: ${{ github.workflow }}
9+
cancel-in-progress: false
10+
11+
jobs:
12+
etl-test:
13+
environment: test
14+
name: ETL (TEST)
15+
runs-on: ubuntu-latest
16+
steps:
17+
- uses: actions/checkout@v4
18+
with:
19+
ref: ${{ github.ref }}
20+
- uses: redhat-actions/openshift-tools-installer@v1
21+
with:
22+
oc: "4"
23+
- name: Run ./sync/oc_run.sh
24+
run: ./sync/oc_run.sh test ${{ secrets.oc_token }}

.github/workflows/release.yml

+3-1
Original file line numberDiff line numberDiff line change
@@ -68,4 +68,6 @@ jobs:
6868
registry: ghcr.io
6969
repository: ${{ github.repository }}/${{ matrix.component }}
7070
target: ${{ needs.deploy.outputs.tag }}
71-
tags: prod
71+
tags: |
72+
prod
73+
${{ github.event.release.tag_name }}

0 commit comments

Comments
 (0)