Skip to content

Update dockerimage.yml #198

Update dockerimage.yml

Update dockerimage.yml #198

Workflow file for this run

---
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@1d96c772d19495a3b5c517cd2bc0cb401ea0529f # v4.1.3
- name: Pull the latest ${{ matrix.platform }} image
run: docker pull --platform "${{ matrix.platform }}" "${GITHUB_REPOSITORY_OWNER}/${IMAGE}"