From 30d4c41eee84f09f09a450da563355fda66a3efa Mon Sep 17 00:00:00 2001 From: Chris Plaatjes Date: Mon, 20 Mar 2023 20:11:22 -0400 Subject: [PATCH] Added repo auth --- .gitea/workflows/build.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.gitea/workflows/build.yml b/.gitea/workflows/build.yml index b212555..272117a 100644 --- a/.gitea/workflows/build.yml +++ b/.gitea/workflows/build.yml @@ -1,7 +1,9 @@ # .gitea/workflows/build.yaml name: Publish Docker image -on: [push] +on: + push: + branches: [main] jobs: push_to_registry: @@ -10,6 +12,8 @@ jobs: steps: - name: Check out the repo uses: actions/checkout@v3 + with: + token: ${{ secrets.GITEA_TOKEN }} - name: Login to DockerHub uses: docker/login-action@v2