Skip to content

added timeouts to crane commands that hang #30

added timeouts to crane commands that hang

added timeouts to crane commands that hang #30

Workflow file for this run

name: CI
on:
pull_request:
branches:
- "*"
types:
- opened
- synchronize
- reopened
push:
branches:
- master
jobs:
build-docker-registry-sync:
runs-on: ubuntu-latest
steps:
- name: Checkout the code
uses: actions/checkout@v4
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Run tests
run: |
./ci/github/docker-registry-sync.bash tests
- name: Build Docker image
run: |
./ci/github/docker-registry-sync.bash build
env:
DOCKER_HUB_TARGET_REGISTRY_NAME: ${{ secrets.DOCKER_HUB_TARGET_REGISTRY_NAME }}
- name: Log in to Docker Hub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKER_HUB_USER }}
password: ${{ secrets.DOCKER_HUB_PASSWORD }}
- name: Push Docker image
if: github.event_name == 'push' && github.ref == 'refs/heads/master'
run: |
./ci/github/docker-registry-sync.bash push
env:
DOCKER_HUB_TARGET_REGISTRY_NAME: ${{ secrets.DOCKER_HUB_TARGET_REGISTRY_NAME }}