Added repo auth
Some checks failed
Push Docker image to registries

This commit is contained in:
Chris Plaatjes 2023-03-20 20:11:22 -04:00
parent fadc678ac3
commit 30d4c41eee

View File

@ -1,7 +1,9 @@
# .gitea/workflows/build.yaml # .gitea/workflows/build.yaml
name: Publish Docker image name: Publish Docker image
on: [push] on:
push:
branches: [main]
jobs: jobs:
push_to_registry: push_to_registry:
@ -10,6 +12,8 @@ jobs:
steps: steps:
- name: Check out the repo - name: Check out the repo
uses: actions/checkout@v3 uses: actions/checkout@v3
with:
token: ${{ secrets.GITEA_TOKEN }}
- name: Login to DockerHub - name: Login to DockerHub
uses: docker/login-action@v2 uses: docker/login-action@v2