From 5cf4583372abeaae978f38f7338727f1ed4c7abb Mon Sep 17 00:00:00 2001 From: Tony Grosinger Date: Thu, 11 Jan 2024 12:27:27 -0800 Subject: [PATCH] Testing actions --- .gitea/workflows/container-build.yaml | 30 +++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 .gitea/workflows/container-build.yaml diff --git a/.gitea/workflows/container-build.yaml b/.gitea/workflows/container-build.yaml new file mode 100644 index 0000000..92092f4 --- /dev/null +++ b/.gitea/workflows/container-build.yaml @@ -0,0 +1,30 @@ +name: Build Production Container +run-name: $Env:GITHUB_REF_TYPE Production Build +on: + push: + tags: + - '*.*.*' + +jobs: + Explore-Gitea-Actions: + runs-on: ubuntu-latest + steps: + - name: Check out repository code + uses: actions/checkout@v3 + + - name: Set up Docker Buildx + uses: docker/setup-buildx-action@v2 + + - name: Login to Gitea Docker registry + uses: docker/login-action@v2 + with: + registry: git.grosinger.net + username: tgrosinger + password: ${{ secrets.CONTAINER_REGISTRY_ACCESS_TOKEN }} + + - name: Build and push + uses: docker/build-push-action@v4 + with: + context: . + push: true + tags: git.grosinger.net/west-sound-hall:$Env:GITHUB_REF_TYPE