1
mirror of https://github.com/jakejarvis/docker-tor.git synced 2025-11-27 00:16:07 -05:00
This commit is contained in:
2022-12-29 11:54:34 -05:00
parent aa5b5c006a
commit f2e9dec181
2 changed files with 21 additions and 15 deletions

View File

@@ -13,7 +13,7 @@ on:
permissions:
contents: read
# packages: write
packages: write
jobs:
build-image:
@@ -27,18 +27,18 @@ jobs:
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
# - uses: docker/login-action@v2
# if: github.event_name != 'pull_request'
# with:
# registry: ghcr.io
# username: ${{ github.actor }}
# password: ${{ secrets.GITHUB_TOKEN }}
- uses: docker/login-action@v2
if: github.event_name != 'pull_request'
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- uses: docker/metadata-action@v4
id: meta
with:
images: |
jakejarvis/tor
# ghcr.io/jakejarvis/tor
ghcr.io/jakejarvis/tor
flavor: |
latest=auto
tags: |