Skip to content

v10.5.1-alpha.2

v10.5.1-alpha.2 #373

Workflow file for this run

name: Publish
on:
workflow_dispatch:
release:
types:
- published
jobs:
build-and-push:
name: Build and Publish
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Get the version (release tag)
run: echo "IMAGE_VERSION=${GITHUB_REF/refs\/tags\//}" >> $GITHUB_ENV
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1
- name: Login to DockerHub
uses: docker/login-action@v1
with:
registry: quay.io
username: ${{ secrets.QUAYIO_USERNAME }}
password: ${{ secrets.QUAYIO_TOKEN }}
- name: Build and push
uses: docker/build-push-action@v2
with:
context: ./
file: ./Dockerfile
push: true
tags: quay.io/tfgco/maestro:${{ env.IMAGE_VERSION }}