Skip to content

Commit

Permalink
Merge pull request #218 from deNBI/dev
Browse files Browse the repository at this point in the history
Dev
  • Loading branch information
dweinholz authored Mar 23, 2023
2 parents 12d81f8 + 350f0e3 commit 5c12f71
Showing 1 changed file with 15 additions and 8 deletions.
23 changes: 15 additions & 8 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,21 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- uses: actions/checkout@master
- name: Publish to Registry
uses: elgohr/Publish-Docker-Github-Action@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/master.tar.gz
REPOSITORY: https://github.com/deNBI/cloud-user-docs/archive/staging.tar.gz
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
dockerfile: Dockerfile
buildargs: REPOSITORY
tags: quay.io/denbicloud/mkdocswebhook:staging
file: Dockerfile
push: true
build-args: REPOSITORY
tags: quay.io/denbicloud/mkdocswebhook:staging

0 comments on commit 5c12f71

Please sign in to comment.