Skip to content

Commit d878a21

Browse files
authored
add new release CI
1 parent 77660e7 commit d878a21

File tree

1 file changed

+35
-0
lines changed

1 file changed

+35
-0
lines changed

.github/workflows/release.yml

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
name: release-CI
2+
3+
on:
4+
release:
5+
types: [published]
6+
7+
# Allows you to run this workflow manually from the Actions tab
8+
workflow_dispatch:
9+
10+
jobs:
11+
build_and_publish:
12+
runs-on: ubuntu-latest
13+
14+
steps:
15+
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
16+
- uses: actions/checkout@v4
17+
18+
- name: Set up Docker Buildx
19+
uses: docker/setup-buildx-action@v3
20+
21+
- name: Login to Quay IO
22+
uses: docker/login-action@v3
23+
with:
24+
registry: quay.io
25+
username: '$oauthtoken'
26+
password: ${{ secrets.QUAY_OAUTH_TOKEN }}
27+
28+
- name: Build docker image and push to quay.io
29+
uses: docker/build-push-action@v6
30+
with:
31+
context: "{{defaultContext}}:galaxy"
32+
push: true
33+
tags: quay.io/bgruening/galaxy:${{ github.event.release.tag_name }}
34+
35+

0 commit comments

Comments
 (0)