Skip to content

Merge branch 'staging' #24

Merge branch 'staging'

Merge branch 'staging' #24

Workflow file for this run

name: Create Release Image
on:
push:
tags:
- '*'
jobs:
build_release:
runs-on: ubuntu-latest
steps:
- name: Get the version
id: get_version
run: echo ::set-output name=VERSION::${GITHUB_REF/refs\/tags\//}
- uses: actions/[email protected]
- 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: ${{ secrets.QUAY_USERNAME }}
password: ${{ secrets.QUAY_TOKEN }}
- name: Build and publish image to Quay
uses: docker/build-push-action@v5
with:
file: Dockerfile
push: true
tags: quay.io/denbicloud/simplevm-client:${{ steps.get_version.outputs.VERSION }}