Aktualizovat .gitea/workflows/build.yml
Some checks failed
Build Nginx and PHP image / Build-Minecraft-Stats-Image (push) Failing after 2m2s

This commit is contained in:
Radim Lipovčan 2024-05-04 20:21:17 +02:00
parent c2db4a3fca
commit 8056993e5a

View File

@ -19,6 +19,7 @@ jobs:
run: | run: |
echo "${{ secrets.DOCKERHUB_GITEA_TOKEN }}" | docker login -u ownercz --password-stdin echo "${{ secrets.DOCKERHUB_GITEA_TOKEN }}" | docker login -u ownercz --password-stdin
ls -lah ls -lah
docker build -t ownercz/nginx-php:latest -t ownercz/nginx-php:${{env.GITHUB_SHA}} . docker build -f Dockerfile-u22 -t ownercz/nginx-php:u22 -t ownercz/nginx-php:u22-${{env.GITHUB_SHA}} .
docker build -f Dockerfile-u24 -t ownercz/nginx-php:u24 -t ownercz/nginx-php:u24-${{env.GITHUB_SHA}} .
docker push ownercz/nginx-php:latest docker push ownercz/nginx-php:latest
docker push ownercz/nginx-php:${{env.GITHUB_SHA}} docker push ownercz/nginx-php:${{env.GITHUB_SHA}}