Skip to content

Commit

Permalink
Fix build-on-tag workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
mononaut committed Jan 28, 2022
1 parent c1c7d9e commit 3c553e7
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/tag.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,10 @@ name: Build on push
permissions:
packages: write

on: tag
on:
push:
tags:
- v*

jobs:
build:
Expand All @@ -20,7 +23,7 @@ jobs:
echo "IMAGE_NAME=${GITHUB_REPOSITORY#*/}" >> $GITHUB_ENV
- name: Login to GitHub Container Registry
uses: docker/login-action@v1
uses: docker/login-action@v1
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
Expand Down

0 comments on commit 3c553e7

Please sign in to comment.