start publishing container images on push to main
This commit is contained in:
11
.github/workflows/publish.yaml
vendored
11
.github/workflows/publish.yaml
vendored
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user