start publishing container images on push to main

This commit is contained in:
lza_menace
2023-10-12 14:14:19 -07:00
parent 1e6f6cf1d6
commit 15fc603f64
2 changed files with 34 additions and 14 deletions

View File

@@ -5,12 +5,15 @@ on:
branches: master
jobs:
login:
publish_images:
runs-on: ubuntu-latest
name: Publish Docker images to Dockerhub
steps:
-
name: Log into Docker Hub
- name: Authenticate to Dockerhub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- build_images:
run: |
bash release.sh