1
Fork 0
mirror of https://github.com/wlinator/luminara.git synced 2024-10-02 18:03:12 +00:00

Update and rename docker-hub-image.yml to docker-image.yml

This commit is contained in:
wlinator 2024-07-19 19:23:31 -04:00
parent bb8af7c4b4
commit 3c016a6ac3

View file

@ -2,8 +2,6 @@ name: Create and Publish Docker Image CI
on:
schedule:
- cron: "0 10 * * *"
push:
branches:
- "main"
@ -27,13 +25,11 @@ jobs:
wlinator/luminara
ghcr.io/wlinator/luminara
tags: |
type=schedule
type=ref,event=branch
type=ref,event=pr
type=semver,pattern={{version}}
type=semver,pattern={{major}}.{{minor}}
type=semver,pattern={{major}}
type=sha
-
name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
@ -43,14 +39,14 @@ jobs:
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
-
name: Login to GHCR
if: github.event_name != 'pull_request'
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}
# -
# name: Login to GHCR
# if: github.event_name != 'pull_request'
# uses: docker/login-action@v3
# with:
# registry: ghcr.io
# username: ${{ github.repository_owner }}
# password: ${{ secrets.GITHUB_TOKEN }}
-
name: Build and push
uses: docker/build-push-action@v6