Fix build-on-tag workflow

This commit is contained in:
Mononaut 2022-01-28 08:56:51 -06:00
parent c1c7d9e559
commit 3c553e7590

View File

@ -3,7 +3,10 @@ name: Build on push
permissions: permissions:
packages: write packages: write
on: tag on:
push:
tags:
- v*
jobs: jobs:
build: build:
@ -20,7 +23,7 @@ jobs:
echo "IMAGE_NAME=${GITHUB_REPOSITORY#*/}" >> $GITHUB_ENV echo "IMAGE_NAME=${GITHUB_REPOSITORY#*/}" >> $GITHUB_ENV
- name: Login to GitHub Container Registry - name: Login to GitHub Container Registry
uses: docker/login-action@v1 uses: docker/login-action@v1
with: with:
registry: ghcr.io registry: ghcr.io
username: ${{ github.repository_owner }} username: ${{ github.repository_owner }}