ci: Fix domen adress ci
This commit is contained in:
1 parent
8baaa1c808
commit
4e5a0e1a29
1 file changed
+5
-5
@@ -193,19 +193,19 @@ jobs:
|
|||||||
- name: Configure Docker CLI for insecure registry
|
- name: Configure Docker CLI for insecure registry
|
||||||
run: |
|
run: |
|
||||||
mkdir -p ~/.docker
|
mkdir -p ~/.docker
|
||||||
echo '{"insecure-registries" : ["git.rustprogersteam.ru"]}' > ~/.docker/config.json
|
echo '{"insecure-registries" : ["git.srcoder.moe"]}' > ~/.docker/config.json
|
||||||
cat ~/.docker/config.json
|
cat ~/.docker/config.json
|
||||||
|
|
||||||
- name: 'Docker Tags'
|
- name: 'Docker Tags'
|
||||||
id: tags
|
id: tags
|
||||||
uses: https://github.com/cssnr/docker-tags-action@v2
|
uses: https://github.com/cssnr/docker-tags-action@v2
|
||||||
with:
|
with:
|
||||||
images: 'git.rustprogersteam.ru/pvhproject/pvhbackend/'
|
images: 'git.srcoder.moe/pvhproject/pvhbackend/'
|
||||||
|
|
||||||
- name: Login to Docker Registry
|
- name: Login to Docker Registry
|
||||||
uses: docker/login-action@v3
|
uses: docker/login-action@v3
|
||||||
with:
|
with:
|
||||||
registry: git.rustprogersteam.ru
|
registry: git.srcoder.moe
|
||||||
username: ${{ vars.DOCKER_USERNAME }}
|
username: ${{ vars.DOCKER_USERNAME }}
|
||||||
password: ${{ secrets.DOCKER_PASSWORD }}
|
password: ${{ secrets.DOCKER_PASSWORD }}
|
||||||
|
|
||||||
@@ -218,8 +218,8 @@ jobs:
|
|||||||
context: .
|
context: .
|
||||||
push: true
|
push: true
|
||||||
tags: |
|
tags: |
|
||||||
git.rustprogersteam.ru/pvhproject/pvhbackend/pvh:latest
|
git.srcoder.moe/pvhproject/pvhbackend/pvh:latest
|
||||||
git.rustprogersteam.ru/pvhproject/pvhbackend/pvh:${{ github.sha }}
|
git.srcoder.moe/pvhproject/pvhbackend/pvh:${{ github.sha }}
|
||||||
labels: ${{ steps.tags.outputs.labels }}
|
labels: ${{ steps.tags.outputs.labels }}
|
||||||
cache-from: type=gha
|
cache-from: type=gha
|
||||||
cache-to: type=gha,mode=max
|
cache-to: type=gha,mode=max
|
||||||
|
|||||||
Reference in new issue
Block a user