Skip to content

Merge pull request #250 from deNBI/dev #41

Merge pull request #250 from deNBI/dev

Merge pull request #250 from deNBI/dev #41

Workflow file for this run

name: Publish Docker
on:
push:
branches:
- 'staging'
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Workflow run cleanup action
uses: rokroskar/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- uses: actions/checkout@master
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Login to Quay.io
uses: docker/login-action@v2
with:
registry: quay.io
username: ${{ secrets.QUAY_USERNAME }}
password: ${{ secrets.QUAY_TOKEN }}
- name: Build and publish image to Quay
uses: docker/build-push-action@v4
env:
REPOSITORY: https://github.com/deNBI/cloud-user-docs/archive/staging.tar.gz
with:
file: Dockerfile
push: true
build-args: REPOSITORY
tags: quay.io/denbicloud/mkdocswebhook:staging