From 930c9849b7e9f4de7f9fd65c6fef96276c2afa6e Mon Sep 17 00:00:00 2001 From: artem Date: Mon, 8 Jan 2024 14:55:57 +0300 Subject: [PATCH] =?UTF-8?q?=D0=B4=D0=BE=D0=B1=D0=B0=D0=B2=D0=B8=D0=BB=20?= =?UTF-8?q?=D0=B0=D0=B2=D1=82=D0=BE=D1=81=D0=B1=D0=BE=D1=80=D0=BA=D1=83?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitea/workflows/demo.yaml | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/.gitea/workflows/demo.yaml b/.gitea/workflows/demo.yaml index 9d0ffa5..843a125 100644 --- a/.gitea/workflows/demo.yaml +++ b/.gitea/workflows/demo.yaml @@ -8,8 +8,14 @@ jobs: steps: - name: Checkout uses: actions/checkout@v2 # Required to mount the Github Workspace to a volume - - uses: https://github.com/addnab/docker-run-action@v3 + - name: Login to Docker Hub + uses: https://github.com/docker/login-action@v3 with: - username: ${{ secrets.DOCKER_USERNAME }} - password: ${{ secrets.DOCKER_PASSWORD }} - run: docker build ./ -t platformer \ No newline at end of file + username: ${{ secrets.DOCKERHUB_USERNAME }} + password: ${{ secrets.DOCKERHUB_TOKEN }} + registry: gitea.webart-tech.ru + - name: Build and push + uses: https://github.com/docker/build-push-action@v5 + with: + push: true + tags: platformer:${{ gitea.sha }} \ No newline at end of file