Skip to content

Dummy commits for CI test Docker actions #1

Dummy commits for CI test Docker actions

Dummy commits for CI test Docker actions #1

---
name: "Build Yoda iRODS provider image and push it to registry"
on:
push:
branches:
- 'development'
- 'ci-test'
paths:
- 'docker/images/yoda_irods_icat/**'
- 'roles/irods_completion/files/irods_completion.sh'
- 'roles/pam_python/files/pam_python.so'
- 'roles/yoda_rulesets/files/run-intake-movetovault.sh'
jobs:
push-image:
runs-on: ubuntu-22.04
permissions:
contents: read
packages: write
steps:
- name: Check out Yoda repository
uses: actions/checkout@v3
with:
path: yoda
repository: UtrechtUniversity/yoda
ref: development
- name: Authenticate to the container registry
uses: docker/login-action@v2
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@v4
with:
context: yoda/docker/images/yoda_irods_icat
file: yoda/docker/images/yoda_irods_icat/Dockerfile
push: true
tags: ghcr.io/utrechtuniversity/yoda-provider:dev-1.9