From ed5a4c712bed2db85032b26d99a0036b211e6a6f Mon Sep 17 00:00:00 2001 From: artem Date: Mon, 8 Jan 2024 18:23:14 +0300 Subject: [PATCH] =?UTF-8?q?=D0=BE=D0=B1=D1=80=D0=B0=D0=B7=20=D0=B4=D0=BB?= =?UTF-8?q?=D1=8F=20=D1=81=D0=B1=D0=BE=D1=80=D0=BA=D0=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitea/workflows/demo.yaml | 30 ++++++++++++++---------------- 1 file changed, 14 insertions(+), 16 deletions(-) diff --git a/.gitea/workflows/demo.yaml b/.gitea/workflows/demo.yaml index d1b9edf..8cba7f5 100644 --- a/.gitea/workflows/demo.yaml +++ b/.gitea/workflows/demo.yaml @@ -6,20 +6,18 @@ jobs: build_and_push: runs-on: ubuntu-latest container: - image: docker:23.0.6-dind + image: catthehacker/ubuntu:act-latest steps: - - name: login - run: docker build ./ -t platformer - # - name: Checkout - # uses: actions/checkout@v2 # Required to mount the Github Workspace to a volume - # - name: Login to Docker Hub - # uses: https://github.com/docker/login-action@v3 - # with: - # username: ${{ secrets.DOCKER_USERNAME }} - # password: ${{ secrets.DOCKER_PASSWORD }} - # 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 + - name: Checkout + uses: actions/checkout@v2 # Required to mount the Github Workspace to a volume + - name: Login to Docker Hub + uses: https://github.com/docker/login-action@v3 + with: + username: ${{ secrets.DOCKER_USERNAME }} + password: ${{ secrets.DOCKER_PASSWORD }} + 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