ci: fix token
This commit is contained in:
@@ -27,15 +27,15 @@ jobs:
|
||||
run: docker load < hello-image.tar.gz
|
||||
|
||||
- name: Login to Gitea Registry
|
||||
uses: docker/login-action@v3
|
||||
uses: docker/login-action@v4
|
||||
with:
|
||||
registry: git.zhukovsky.me
|
||||
username: ${{ gitea.actor }}
|
||||
password: ${{ secrets.GITEA_TOKEN }}
|
||||
|
||||
password: ${{ secrets.REGISTRY_TOKEN }}
|
||||
- name: Tag and Push
|
||||
run: |
|
||||
REGISTRY_IMAGE="git.zhukovsky.me/$(echo ${{ gitea.repository }}"
|
||||
|
||||
REGISTRY_IMAGE="git.zhukovsky.me/${{ gitea.repository }}"
|
||||
echo "Pushing image to: $REGISTRY_IMAGE"
|
||||
|
||||
docker tag test-nix-hello:latest $REGISTRY_IMAGE:latest
|
||||
docker push $REGISTRY_IMAGE:latest
|
||||
|
||||
Reference in New Issue
Block a user