Skip to content

Merge pull request #20 from ag-computational-bio/fix/replicons_format… #68

Merge pull request #20 from ag-computational-bio/fix/replicons_format…

Merge pull request #20 from ag-computational-bio/fix/replicons_format… #68

name: build-and-push-docker-image
on:
push:
tags:
- v*
jobs:
main:
runs-on: ubuntu-latest
steps:
- name: Get tag
id: tag
uses: dawidd6/action-get-tag@v1
-
name: Set up QEMU
uses: docker/setup-qemu-action@v1
-
name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1
-
name: Login to DockerHub
uses: docker/login-action@v1
with:
username: ${{ secrets.DOCKERHUB_USER }}
password: ${{ secrets.DOCKERHUB_SECRET }}
-
name: Login to Quay.io
uses: docker/login-action@v1
with:
registry: quay.io
username: ${{ secrets.QUAY_USER }}
password: ${{ secrets.QUAY_SECRET }}
-
name: Build and push
id: docker_build
uses: docker/build-push-action@v2
with:
push: true
tags: agcomputationalbio/bakta-web-ui:${{steps.tag.outputs.tag}},quay.io/agcomputationalbio/bakta-web-ui:${{steps.tag.outputs.tag}}
build-args: ""
-
name: Image digest
run: echo ${{ steps.docker_build.outputs.digest }}