Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 6 additions & 9 deletions .github/workflows/docker-3.2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ on:
# Every week at 8am on Mondays, publish the 3.2 branch:
# NOTE: `schedule` event is only triggered for the default branch:
# https://docs.github.com/en/actions/writing-workflows/choosing-when-your-workflow-runs/events-that-trigger-workflows#schedule
schedule:
- cron: "0 8 * * 1"
# schedule:
# - cron: "0 8 * * 1"

env:
GIT_BRANCH: "3.2"
Expand All @@ -18,9 +18,6 @@ jobs:
deploy:
runs-on: ubuntu-24.04
steps:
- name: lowercase the repository name
run: echo "REPO=${GITHUB_REPOSITORY@L}" >> "${GITHUB_ENV}"

- name: Source checkout
uses: actions/checkout@v4

Expand All @@ -36,11 +33,11 @@ jobs:
id: docker_meta
uses: docker/metadata-action@v5
with:
images: ${{ env.REPO }}
images: ${{ github.repository }}
labels: |
org.opencontainers.image.version=${{ env.GIT_BRANCH }}
org.opencontainers.image.revision=${{ github.sha }}
org.opencontainers.image.title=${{ env.REPO }}
org.opencontainers.image.title=${{ github.repository }}

- name: GitHub login
if: ${{ github.event_name != 'pull_request' }}
Expand All @@ -61,5 +58,5 @@ jobs:
cache-to: type=gha, scope=${{ github.workflow }}
labels: ${{ steps.docker_meta.outputs.labels }}
tags: |
ghcr.io/${{ env.REPO }}:${{ env.GIT_BRANCH }}
ghcr.io/${{ env.REPO }}:latest
ghcr.io/${{ github.repository }}:${{ env.GIT_BRANCH }}
ghcr.io/${{ github.repository }}:latest