Skip to content
This repository has been archived by the owner on Nov 13, 2024. It is now read-only.

Commit

Permalink
Update docker-publish.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
TanyaStere42 authored Jan 26, 2024
1 parent 6562998 commit 54bc88d
Showing 1 changed file with 17 additions and 17 deletions.
34 changes: 17 additions & 17 deletions .github/workflows/docker-publish.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
name: Docker

on: [push, workflow_dispatch]
schedule:
- cron: '0 16 * * *' # Every day at 16:00 UTC (~09:00 PT)
# schedule:
# - cron: '0 16 * * *' # Every day at 16:00 UTC (~09:00 PT)

jobs:
# Push container image to GitHub Packages and Docker Hub.
Expand All @@ -13,14 +13,14 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
if: github.event_name == 'schedule'
with:
submodules: true
ref: main
# - uses: actions/checkout@v2
# if: github.event_name == 'schedule'
# with:
# submodules: true
# ref: main

- uses: actions/checkout@v2
if: github.event_name != 'schedule'
# if: github.event_name != 'schedule'
with:
submodules: true

Expand Down Expand Up @@ -84,12 +84,12 @@ jobs:
./scripts/utils/buildx.docker.sh -t main -r ghcr.io/wildmeorg/houston
# Push nightly image (nightly tag) to registries
- name: Nightly Docker Hub
if: github.event_name == 'schedule'
run: |
./scripts/utils/buildx.docker.sh -t nightly
- name: Nightly GHCR
if: github.event_name == 'schedule'
run: |
./scripts/utils/buildx.docker.sh -t nightly -r ghcr.io/wildmeorg/houston
#- name: Nightly Docker Hub
# if: github.event_name == 'schedule'
# run: |
# ./scripts/utils/buildx.docker.sh -t nightly

#- name: Nightly GHCR
# if: github.event_name == 'schedule'
# run: |
# ./scripts/utils/buildx.docker.sh -t nightly -r ghcr.io/wildmeorg/houston

0 comments on commit 54bc88d

Please sign in to comment.