.github/workflows/publish-all.yml #105
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
on: | |
workflow_dispatch: | |
schedule: [{ cron: 0 0 * * * }] # “At 00:00.” see https://crontab.guru/#0_0_*_*_* | |
jobs: | |
publish-all: | |
runs-on: ubuntu-latest | |
permissions: { contents: read, packages: write } | |
strategy: | |
matrix: | |
release: | |
- "3.0-rc.2" | |
- "2.16" | |
- "2.15" | |
- "2.14" | |
steps: | |
- uses: actions/checkout@v4 | |
- run: echo "${{ github.token }}" | docker login ghcr.io --username $ --password-stdin | |
- run: DOCKER_BUILDKIT=1 docker build --pull --push --build-arg RELEASE=${{ matrix.release }} --tag ghcr.io/${{ github.repository_owner }}/meteor:${{ matrix.release }} . |