mirror of
https://github.com/umputun/reproxy.git
synced 2024-11-24 08:12:31 +02:00
Merge pull request #17 from bobuk/patch-1
move to github.actor instead of The Greatest
This commit is contained in:
commit
a1d14d2707
7
.github/workflows/ci.yml
vendored
7
.github/workflows/ci.yml
vendored
@ -49,9 +49,10 @@ jobs:
|
||||
if: ${{ github.ref == 'refs/heads/master' || startsWith(github.ref, 'refs/tags/') }}
|
||||
env:
|
||||
GITHUB_PACKAGE_TOKEN: ${{ secrets.PKG_TOKEN }}
|
||||
USERNAME: ${{ github.actor }}
|
||||
run: |
|
||||
ref="$(echo ${GITHUB_REF} | cut -d'/' -f3)"
|
||||
echo GITHUB_REF - $ref
|
||||
echo ${GITHUB_PACKAGE_TOKEN} | docker login ghcr.io -u umputun --password-stdin
|
||||
docker build -t ghcr.io/umputun/reproxy:${ref} .
|
||||
docker push ghcr.io/umputun/reproxy:${ref}
|
||||
echo ${GITHUB_PACKAGE_TOKEN} | docker login ghcr.io -u ${USERNAME} --password-stdin
|
||||
docker build -t ghcr.io/${USERNAME}/reproxy:${ref} .
|
||||
docker push ghcr.io/${USERNAME}/reproxy:${ref}
|
||||
|
Loading…
Reference in New Issue
Block a user