Skip to content

Commit d1ace07

Browse files
committed
Test reverting Docker image to previous version
1 parent f2b3315 commit d1ace07

1 file changed

Lines changed: 8 additions & 2 deletions

File tree

.github/workflows/build-push-image.yml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ on:
55
push:
66
branches:
77
- 'development'
8+
- 'test-regression-ci-tests-atr'
89
- 'release-[0-9]+.[0-9]+'
910

1011
jobs:
@@ -20,6 +21,11 @@ jobs:
2021
run: echo "branch=${GITHUB_HEAD_REF:-${GITHUB_REF#refs/heads/}}" >> $GITHUB_OUTPUT
2122
id: extract_branch
2223

24+
- name: Extract tag name
25+
shell: bash
26+
run: echo "tag=${GITHUB_HEAD_REF:-${GITHUB_REF#refs/heads/}}" | sed 's/test-regression-ci-tests-atr/development/' >> $GITHUB_OUTPUT
27+
id: extract_tag
28+
2329
- name: Check out Yoda repository
2430
uses: actions/checkout@v6
2531
with:
@@ -45,6 +51,6 @@ jobs:
4551
context: yoda/docker/images/yoda_irods_icat
4652
file: yoda/docker/images/yoda_irods_icat/Dockerfile
4753
push: true
48-
tags: ghcr.io/utrechtuniversity/yoda-provider:${{ steps.extract_branch.outputs.branch }}
54+
tags: ghcr.io/utrechtuniversity/yoda-provider:${{ steps.extract_tag.outputs.tag }}
4955
build-args: |
50-
TAG=${{ steps.extract_branch.outputs.branch }}
56+
TAG=${{ steps.extract_tag.outputs.tag }}

0 commit comments

Comments
 (0)