Skip to content

Commit

Permalink
add new release CI
Browse files Browse the repository at this point in the history
  • Loading branch information
bgruening authored Feb 25, 2025
1 parent 77660e7 commit d878a21
Showing 1 changed file with 35 additions and 0 deletions.
35 changes: 35 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: release-CI

on:
release:
types: [published]

# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:

jobs:
build_and_publish:
runs-on: ubuntu-latest

steps:
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
- uses: actions/checkout@v4

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3

- name: Login to Quay IO
uses: docker/login-action@v3
with:
registry: quay.io
username: '$oauthtoken'
password: ${{ secrets.QUAY_OAUTH_TOKEN }}

- name: Build docker image and push to quay.io
uses: docker/build-push-action@v6
with:
context: "{{defaultContext}}:galaxy"
push: true
tags: quay.io/bgruening/galaxy:${{ github.event.release.tag_name }}


0 comments on commit d878a21

Please sign in to comment.