Aktualizovat .gitea/workflows/build.yml
Some checks failed
Build Minecraft Image / Build-Minecraft-Stats-Image (push) Failing after 32s

This commit is contained in:
Radim Lipovčan 2024-09-27 22:33:55 +02:00
parent d6b94125f7
commit afc5fb2db1

View File

@ -13,13 +13,10 @@ jobs:
uses: actions/checkout@v3 uses: actions/checkout@v3
- name: Build | Install Docker - name: Build | Install Docker
run: | run: |
apt-get update && apt-get install docker.io git -y apt-get update && apt-get install docker.io -y
git clone https://git.lipovcan.cz/Upstream/littlelink-server.git littlelink
- name: Docker | Build image and login to Docker Hub with publication - name: Docker | Build image and login to Docker Hub with publication
run: | run: |
cd littlelink
git checkout e86e0da99b31c9020341025b0c21298ec630a691
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/littlelink:latest -t ownercz/littlelink:${{env.GITHUB_SHA}} . docker build -t ownercz/littlelink:latest -t ownercz/littlelink:${{env.GITHUB_SHA}} .