Merge branch 'staging' #215
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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/checkout@master | |
- 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-webapp:${{ steps.get_version.outputs.VERSION }} |