From a5c9596397436126eaed7b4854b34d6d53d101ae Mon Sep 17 00:00:00 2001 From: Constantin Simonis Date: Sun, 2 Feb 2025 17:31:21 +0000 Subject: [PATCH] refactor docker deployment Reviewed-on: http://git.simonis.lol/projects/file-explorer/pulls/17 --- .gitea/workflows/build.yaml | 17 +++++++---------- 1 file changed, 7 insertions(+), 10 deletions(-) diff --git a/.gitea/workflows/build.yaml b/.gitea/workflows/build.yaml index e4b20b3..65dd8af 100644 --- a/.gitea/workflows/build.yaml +++ b/.gitea/workflows/build.yaml @@ -9,15 +9,12 @@ jobs: build: runs-on: remote steps: - - uses: https://git.simonis.lol/actions/checkout@v4 - - uses: https://git.simonis.lol/actions/login@v1 - with: - registry: git.simonis.lol - username: ${{ vars.DOCKER_USER }} - password: ${{ vars.DOCKER_PW }} - - name: build - run: docker build -t git.simonis.lol/projects/file-explorer:latest . + - name: Checkout + uses: https://git.simonis.lol/actions/checkout@v2 - - name: push - run: docker push git.simonis.lol/projects/file-explorer:latest + - name: Build + run: docker buildx build -t git.simonis.lol/projects/file-explorer:latest . + + - name: Push + run: docker push git.simonis.lol/projects/file-explorer:latest \ No newline at end of file