Skip to content

test: check test

test: check test #17

Workflow file for this run

name: Push Docker Images to Multiple Registries
on:
workflow_dispatch:
push:
branches: [ main ]
schedule:
- cron: '0 2 */7 * *'
env:
LOG_LEVEL: "${{ vars.LOG_LEVEL }}"
PRIVATE_REGISTRY_URLS: "${{ secrets.PRIVATE_REGISTRY_URLS }}"
PRIVATE_REGISTRY_USERNAME: "${{ secrets.PRIVATE_REGISTRY_USERNAME }}"
PRIVATE_REGISTRY_PASSWORD: "${{ secrets.PRIVATE_REGISTRY_PASSWORD }}"
DOCKER_USERNAME: "${{ secrets.DOCKER_USERNAME }}"
DOCKER_PASSWORD: "${{ secrets.DOCKER_PASSWORD }}"
jobs:
push-to-registries:
runs-on: ubuntu-latest
steps:
- name: Maximize build space
uses: easimon/maximize-build-space@master
with:
root-reserve-mb: 2048
swap-size-mb: 128
remove-android: 'true'
remove-docker-images: 'true'
remove-dotnet: 'true'
remove-haskell: 'true'
remove-codeql: 'true'
build-mount-path: '/var/lib/docker'
# - name: Checkout repository
# uses: actions/checkout@v2
- name: check disk
run: |
df -h
docker images
du -sh /mnt/* || true
du -sh /* || true
du -sh /var/* || true
# - name: Image Sync To Registry
# id: read-images
# run: |
# bash docker-image-pusher.sh