-
Notifications
You must be signed in to change notification settings - Fork 1
34 lines (27 loc) · 900 Bytes
/
release.yml
File metadata and controls
34 lines (27 loc) · 900 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
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:
push: true
tags: |
quay.io/bgruening/webatlas:${{ github.event.release.tag_name }}
quay.io/bgruening/webatlas:latest