mirror of
https://github.com/containrrr/watchtower.git
synced 2025-12-14 06:06:38 +01:00
add ghcr (#850)
* add ghcr * Update .github/workflows/release-dev.yaml Co-authored-by: nils måsén <nils@piksel.se> * Update .github/workflows/release.yml Co-authored-by: nils måsén <nils@piksel.se> * Apply suggestions from code review I might be dyslectic * Update .github/workflows/release.yml Co-authored-by: nils måsén <nils@piksel.se> * Update .github/workflows/release.yml Co-authored-by: nils måsén <nils@piksel.se> Co-authored-by: nils måsén <nils@piksel.se> Co-authored-by: Simon Aronsson <simme@arcticbit.se>
This commit is contained in:
parent
3de202a965
commit
29f5c4b254
2 changed files with 49 additions and 16 deletions
12
.github/workflows/release-dev.yaml
vendored
12
.github/workflows/release-dev.yaml
vendored
|
|
@ -38,10 +38,20 @@ jobs:
|
|||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: jerray/publish-docker-action@master
|
||||
- name: Publish to Docker Hub
|
||||
uses: jerray/publish-docker-action@master
|
||||
with:
|
||||
username: ${{ secrets.DOCKERHUB_USERNAME }}
|
||||
password: ${{ secrets.DOCKERHUB_PASSWORD }}
|
||||
file: dockerfiles/Dockerfile.self-contained
|
||||
repository: containrrr/watchtower
|
||||
tags: latest-dev
|
||||
- name: Publish to GHCR
|
||||
uses: jerray/publish-docker-action@master
|
||||
with:
|
||||
username: ${{ secrets.BOT_USERNAME }}
|
||||
password: ${{ secrets.BOT_GHCR_PAT }}
|
||||
file: dockerfiles/Dockerfile.self-contained
|
||||
registry: ghcr.io
|
||||
repository: containrrr/watchtower
|
||||
tags: latest-dev
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue