chore: restore registry PAT login
This commit is contained in:
@@ -5,10 +5,6 @@ on:
|
|||||||
branches:
|
branches:
|
||||||
- main
|
- main
|
||||||
|
|
||||||
permissions:
|
|
||||||
contents: read
|
|
||||||
packages: write
|
|
||||||
|
|
||||||
env:
|
env:
|
||||||
VERSION: 1.3.0
|
VERSION: 1.3.0
|
||||||
|
|
||||||
@@ -25,7 +21,7 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
registry: git.codeanddice.ru # НАПРИМЕР: gitea.my-server.com
|
registry: git.codeanddice.ru # НАПРИМЕР: gitea.my-server.com
|
||||||
username: toutsu
|
username: toutsu
|
||||||
password: ${{ secrets.GITEA_TOKEN }}
|
password: ${{ secrets.GIT_TOKEN }}
|
||||||
|
|
||||||
- name: Build and push Bot
|
- name: Build and push Bot
|
||||||
uses: docker/build-push-action@v5
|
uses: docker/build-push-action@v5
|
||||||
@@ -68,7 +64,7 @@ jobs:
|
|||||||
- name: Deploy Containers
|
- name: Deploy Containers
|
||||||
run: |
|
run: |
|
||||||
# Авторизуемся локальным докером в нашей Gitea
|
# Авторизуемся локальным докером в нашей Gitea
|
||||||
docker login git.codeanddice.ru/ -u toutsu -p ${{ secrets.GITEA_TOKEN }}
|
docker login git.codeanddice.ru/ -u toutsu -p ${{ secrets.GIT_TOKEN }}
|
||||||
|
|
||||||
# Pull гарантирует, что мы получили нужную версию.
|
# Pull гарантирует, что мы получили нужную версию.
|
||||||
docker compose pull bot web
|
docker compose pull bot web
|
||||||
|
|||||||
Reference in New Issue
Block a user