Skip to content

Commit cc69473

Browse files
committed
ci: fix ghrc image build
1 parent 95ee25e commit cc69473

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/publish.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,12 @@ on:
44
release:
55
types: [published]
66

7+
env:
8+
REGISTRY: ghcr.io
9+
710
jobs:
811
dockerhub:
9-
runs-on: ubuntu-latest
12+
runs-on: ubuntu-22.04
1013
steps:
1114
- name: Checkout
1215
uses: actions/checkout@v2
@@ -20,18 +23,15 @@ jobs:
2023
with:
2124
push: true
2225
tags: virtool/create-subtraction:${{ github.event.release.tag_name }}
23-
2426
ghcr:
25-
runs-on: ubuntu-20.04
27+
runs-on: ubuntu-22.04
2628
permissions:
2729
contents: read
2830
packages: write
2931
if: github.repository_owner == 'Virtool'
3032
steps:
3133
- name: Checkout
3234
uses: actions/checkout@v2
33-
- name: Write VERSION file
34-
run: echo ${{ github.event.release.tag_name }} > VERSION
3535
- name: Update pyproject.toml version
3636
run: sed -i 's/0\.0\.0/${{ github.event.release.tag_name }}/' pyproject.toml
3737
- name: Login to Registry

0 commit comments

Comments
 (0)