Skip to content

change runtime

change runtime #90

Workflow file for this run

on:
- push
name: Build 🛢️ container
jobs:
build_job:
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
steps:
- name: cut v from tag
env:
TAG: ${{ github.ref_name }}
id: split
run: echo "tag=${TAG:1}" >> $GITHUB_OUTPUT
- name: Build container
uses: voxpupuli/gha-build-and-publish-a-container@v2
with:
registry_password: ${{ secrets.GITHUB_TOKEN }}
tags: |
ghcr.io/${{ github.repository }}:${{ steps.split.outputs.tag }}
ghcr.io/${{ github.repository }}:latest