Skip to content

YDA-6065: update core.re for iRODS 4.3.3 #63

YDA-6065: update core.re for iRODS 4.3.3

YDA-6065: update core.re for iRODS 4.3.3 #63

---
name: "Build Yoda iRODS provider image and push it to registry"
on:
push:
branches:
- 'development'
- 'release-1.9'
- 'release-1.10'
paths:
- '.github/workflows/build-push-image-provider.yml'
- 'docker/images/yoda_irods_icat/**'
- 'roles/irods_completion/files/irods_completion.sh'
- 'roles/pam_python/files/pam_python.so'
jobs:
push-image:
if: github.repository == 'utrechtuniversity/yoda'
runs-on: ubuntu-22.04
permissions:
contents: read
packages: write
steps:
- name: Extract branch name
shell: bash
run: echo "branch=${GITHUB_HEAD_REF:-${GITHUB_REF#refs/heads/}}" >> $GITHUB_OUTPUT
id: extract_branch
- name: Check out Yoda repository
uses: actions/checkout@v4
with:
path: yoda
repository: UtrechtUniversity/yoda
ref: ${{ steps.extract_branch.outputs.branch }}
- name: Authenticate to the container registry
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Stage files for Docker image
run: |
cd yoda/docker/images/yoda_irods_icat
./stage-uploads.sh
- name: Build and push Docker image
uses: docker/build-push-action@v6
with:
context: yoda/docker/images/yoda_irods_icat
file: yoda/docker/images/yoda_irods_icat/Dockerfile
push: true
tags: ghcr.io/utrechtuniversity/yoda-provider:${{ steps.extract_branch.outputs.branch }}
build-args: |
TAG=${{ steps.extract_branch.outputs.branch }}