Skip to content

remove double name

remove double name #79

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