Update README.md #832
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
--- | |
name: Docker Hub | |
on: | |
push: | |
pull_request: | |
schedule: | |
- cron: "0 0 * * 0" | |
workflow_dispatch: | |
permissions: {} | |
jobs: | |
pull: | |
strategy: | |
matrix: | |
platform: ["linux/amd64", "linux/arm64"] | |
runs-on: ubuntu-latest | |
steps: | |
- name: Set IMAGE | |
run: echo "IMAGE=${GITHUB_REPOSITORY#*/docker-}" >> "${GITHUB_ENV}" | |
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 | |
- name: Pull the latest ${{ matrix.platform }} image | |
run: docker pull --platform "${{ matrix.platform }}" "${GITHUB_REPOSITORY_OWNER}/${IMAGE}" |