From 6461462cdd255f9eb3c23650e7e9b823f9efc73d Mon Sep 17 00:00:00 2001 From: Mario1159 Date: Thu, 21 Sep 2023 22:18:05 -0300 Subject: [PATCH] Add desktop base build & push workflow --- .gitea/workflows/release.yml | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 .gitea/workflows/release.yml diff --git a/.gitea/workflows/release.yml b/.gitea/workflows/release.yml new file mode 100644 index 0000000..ddaa538 --- /dev/null +++ b/.gitea/workflows/release.yml @@ -0,0 +1,29 @@ +name: release + +on: + push: + branches: [ main ] + +jobs: + dockerbuild: + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v3 + + - name: Authentication + uses: docker/login-action@v2 + with: + registry: git.1159.cl + username: ${{ secrets.DOCKER_USERNAME }} + password: ${{ secrets.DOCKER_PASSWORD }} + + - name: Build desktop base + uses: docker/build-push-action@v4 + env: + ACTIONS_RUNTIME_TOKEN: '' # See https://gitea.com/gitea/act_runner/issues/119 + with: + push: true + tags: git.1159.cl/mario1159/osicstacks-base-desktop:latest + context: . + file: ./base/desktop.Dockerfile \ No newline at end of file