Skip to content

Simple output test v2 #10

Simple output test v2

Simple output test v2 #10

Workflow file for this run

name: Create and publish container images
on: push
env:
REGISTRY: ghcr.io
IMAGE_NAME: ${{ github.repository }}
jobs:
build-and-push-apptainer:
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Log in to the Container registry
uses: docker/login-action@v3
with:
registry: ${{ env.REGISTRY }}
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: create lowercase image
id: lowercase
run: echo "LC_IMAGE_NAME=${IMAGE_NAME,,}" >>${GITHUB_ENV}
- name: echo
run: echo "${ steps.lowercase.outputs.LC_IMAGE_NAME }"
# - name: Setup apptainer executable
# uses: eWaterCycle/setup-apptainer@v2
# with:
# apptainer-version: 1.3.3
#
# - name: Build an apptainer image
# run: apptainer build --build-arg PYBIOCLIP_VERSION=1.0.0 apptainer.sif apptainer.def#
#
# - name: Publish apptainer image
# run: apptainer push apptainer.sif oras://${{ env.REGISTRY }}/${{ steps.lowercase.outputs.LC_IMAGE_NAME }}-sif:1.0.0