Aktualizovat .gitea/workflows/build.yml
All checks were successful
Build Nginx and PHP image / Build-Minecraft-Stats-Image (push) Successful in 41s
All checks were successful
Build Nginx and PHP image / Build-Minecraft-Stats-Image (push) Successful in 41s
This commit is contained in:
parent
ba9963baf3
commit
00039ae76f
@ -15,13 +15,17 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
git clone https://github.com/Ownercz/ubuntu-nginx-php.git .
|
git clone https://github.com/Ownercz/ubuntu-nginx-php.git .
|
||||||
apt-get update && apt-get install docker.io -y
|
apt-get update && apt-get install docker.io -y
|
||||||
- name: Docker | Build image and login to Docker Hub with publication
|
- name: Docker | Build u22
|
||||||
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 -f Dockerfile-u22 -t ownercz/nginx-php:u22 -t ownercz/nginx-php:u22-${{env.GITHUB_SHA}} .
|
docker build -f Dockerfile-u22 -t ownercz/nginx-php:u22 -t ownercz/nginx-php:u22-${{env.GITHUB_SHA}} .
|
||||||
docker push ownercz/nginx-php:u22
|
docker push ownercz/nginx-php:u22
|
||||||
docker push ownercz/nginx-php:u22-${{env.GITHUB_SHA}}
|
docker push ownercz/nginx-php:u22-${{env.GITHUB_SHA}}
|
||||||
|
- name: Docker | Build u24
|
||||||
|
run: |
|
||||||
|
echo "${{ secrets.DOCKERHUB_GITEA_TOKEN }}" | docker login -u ownercz --password-stdin
|
||||||
|
ls -lah
|
||||||
docker build -f Dockerfile-u24 -t ownercz/nginx-php:u24 -t ownercz/nginx-php:u24-${{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:u24
|
docker push ownercz/nginx-php:u24
|
||||||
docker push ownercz/nginx-php:u24-${{env.GITHUB_SHA}}
|
docker push ownercz/nginx-php:u24-${{env.GITHUB_SHA}}
|
Loading…
Reference in New Issue
Block a user