Skip to content
This repository has been archived by the owner on May 27, 2024. It is now read-only.

Merge branch 'staging' #142

Merge branch 'staging'

Merge branch 'staging' #142

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/cloud-portal-client:${{ steps.get_version.outputs.VERSION }}