Skip to content

Commit 177d09d

Browse files
committed
Fix Docker release workflow
1 parent 4025c06 commit 177d09d

1 file changed

Lines changed: 1 addition & 13 deletions

File tree

.github/workflows/release.yml

Lines changed: 1 addition & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -6,18 +6,6 @@ on:
66
workflow_dispatch:
77

88
jobs:
9-
fetch_version:
10-
name: Fetch release version
11-
runs-on: ubuntu-latest
12-
13-
outputs:
14-
version: ${{ steps.get_version.outputs.version }}
15-
16-
steps:
17-
- name: Get the version
18-
id: get_version
19-
run: echo ::set-output name=version::${GITHUB_REF#refs/tags/v}
20-
219
publish_docker_image:
2210
name: Build & Publish Docker image
2311
runs-on: ubuntu-latest
@@ -47,7 +35,7 @@ jobs:
4735
cache-to: type=inline
4836
tags: |
4937
ghcr.io/python-discord/olli:latest
50-
ghcr.io/python-discord/olli:${{ needs.fetch_version.outputs.version }}
38+
ghcr.io/python-discord/olli:${{ github.event.release.tag_name }}
5139
5240
publish_pypi_package:
5341
name: Build & Publish PyPI package

0 commit comments

Comments
 (0)