Merge branch 'main' of https://git.srcoder.moe/PVHProject/PVHFrontend
Build, Test and Push Flask App / docker-build-and-push (push) Successful in 1m51s
Build, Test and Push Flask App / deploy (push) Successful in 1m7s

This commit is contained in:
Joe_Peach committed 2026-09-26 15:56:05 +03:00
commit 29f788ed9a
1 file changed
+5 -5
+5 -5
View File
@@ -21,19 +21,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/pvhfrontend/' images: 'git.srcoder.moe/pvhproject/pvhfrontend/'
- 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 }}
@@ -46,8 +46,8 @@ jobs:
context: . context: .
push: true push: true
tags: | tags: |
git.rustprogersteam.ru/pvhproject/pvhfrontend/pvh:latest git.srcoder.moe/pvhproject/pvhfrontend/pvh:latest
git.rustprogersteam.ru/pvhproject/pvhfrontend/pvh:${{ github.sha }} git.srcoder.moe/pvhproject/pvhfrontend/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