Skip to content

Commit

Permalink
Use the fetch-tags duing checkout and remove run on periodic update a…
Browse files Browse the repository at this point in the history
…s I don't think it's needed.
  • Loading branch information
sarg3nt committed Oct 30, 2024
1 parent cea72fa commit 5672bbf
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,6 @@ on:
push:
tags:
- '*'
workflow_run:
workflows: ["Periodic Build and Release"]
types:
- completed

env:
REGISTRY: ghcr.io
IMAGE_NAME: ${{ github.repository }}
Expand All @@ -33,6 +28,7 @@ jobs:
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
fetch-depth: 0
fetch-tags: true

- name: Log into registry
uses: docker/login-action@9780b0c442fbb1117ed29e0efdff1e18412f7567 # v3.3.0
Expand All @@ -41,9 +37,6 @@ jobs:
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Fetch all tags
run: git fetch --tags

- name: Extract Docker metadata
id: meta
uses: docker/metadata-action@8e5442c4ef9f78752691e2d8f8d19755c6f78e81 # v5.5.1
Expand Down

0 comments on commit 5672bbf

Please sign in to comment.