Skip to content

Publish Latest Image #76

Publish Latest Image

Publish Latest Image #76

Workflow file for this run

name: Publish Latest Image
# Only trigger, when the build workflow succeeded
on:
workflow_run:
workflows: ["Build"]
types:
- completed
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Build the Docker image
run: docker build -t djdd87/synoai:latest SynoAI
- name: Login to Docker Hub
run: docker login -u="${{ secrets.DOCKERHUB_USERNAME }}" -p="${{ secrets.DOCKERHUB_PASSWORD }}"
- name: Publish the Docker image
run: docker push djdd87/synoai:latest