[swan-cern] Update swan base image to v0.0.20 #14
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Bump version of swan-cern in other repositories | |
on: | |
push: | |
tags: | |
- swan-cern/* | |
jobs: | |
build-publish: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Set environnment package name and version | |
run: | | |
IMAGE_TAG=${GITHUB_REF#refs/tags/} | |
echo "IMAGE_NAME=jupyter/$(echo $IMAGE_TAG | cut -d / -f 1)" >> $GITHUB_ENV | |
echo "IMAGE_VERSION=$(echo $IMAGE_TAG | cut -d / -f 2)" >> $GITHUB_ENV | |
- name: Invoke workflow in swan-charts | |
uses: benc-uk/workflow-dispatch@v1 | |
with: | |
workflow: Update jupyter and jupyterhub images | |
ref: master | |
repo: swan-cern/swan-charts | |
token: ${{ secrets.WORKFLOW_ACCESS_TOKEN }} | |
inputs: '{ "image": "${{env.IMAGE_NAME}}", "version": "${{env.IMAGE_VERSION}}" }' |