We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4025c06 commit 177d09dCopy full SHA for 177d09d
1 file changed
.github/workflows/release.yml
@@ -6,18 +6,6 @@ on:
6
workflow_dispatch:
7
8
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
21
publish_docker_image:
22
name: Build & Publish Docker image
23
runs-on: ubuntu-latest
@@ -47,7 +35,7 @@ jobs:
47
35
cache-to: type=inline
48
36
tags: |
49
37
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 }}
51
39
52
40
publish_pypi_package:
53
41
name: Build & Publish PyPI package
0 commit comments