Added repo auth
Push Docker image to registries Details

This commit is contained in:
Chris Plaatjes 2023-03-20 20:11:22 -04:00
parent fadc678ac3
commit 30d4c41eee
1 changed files with 5 additions and 1 deletions

View File

@ -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