immich-automated-selfie-tim.../.github/workflows/docker-image.yml
Workflow config file is invalid. Please check your config file: yaml: unmarshal errors: line 18: mapping key "run" already defined at line 15
2025-04-13 13:50:48 +02:00

20 lines
532 B
YAML

name: Build and Publish image to Docker Hub
on:
push:
branches:
- docker
- main
jobs:
publish_images:
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v4
- name: build image
run: |
docker build . -t arnaudcayrol/immich-selfie-timelapse:latest
- name: push image to docker hub
run: |
docker login -u arnaudcayrol -p ${{ secrets.DOCKERHUB_TOKEN }}
docker push arnaudcayrol/immich-selfie-timelapse:latest