Skip to content

Commit

Permalink
docker-publish gh-action configured
Browse files Browse the repository at this point in the history
  • Loading branch information
csae8092 committed Jan 23, 2021
1 parent d850c97 commit 8a555a4
Showing 1 changed file with 7 additions and 8 deletions.
15 changes: 7 additions & 8 deletions .github/workflows/docker-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,15 @@ on:
types: [published]
jobs:
push_to_registry:
name: Push Docker image to GitHub Packages
name: Push Docker image to Docker Hub
runs-on: ubuntu-latest
steps:
- name: Check out the repo
uses: actions/checkout@v2
- name: Push to GitHub Packages
uses: docker/build-push-action@v1
- name: Push to Docker Hub
uses: docker/build-push-action@v2
with:
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
registry: docker.pkg.github.com
repository: acdh-oeaw/vocabseditor/vocabseditor
tag_with_ref: true
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
repository: acdhch/vocabseditor
tag_with_ref: true

0 comments on commit 8a555a4

Please sign in to comment.