diff --git a/.github/actions/setup-localstack/action.yaml b/.github/actions/setup-localstack/action.yaml index 61422780b5..69d41737f4 100644 --- a/.github/actions/setup-localstack/action.yaml +++ b/.github/actions/setup-localstack/action.yaml @@ -29,7 +29,7 @@ runs: localstack wait -t 30 # to become ready before timing out echo "Startup complete" - aws dynamodb --endpoint-url http://localhost:4566 --region "us-east-2" create-table --table-name BlobTable --attribute-definitions AttributeName=Digest,AttributeType=S --key-schema AttributeName=Digest,KeyType=HASH --provisioned-throughput ReadCapacityUnits=10,WriteCapacityUnits=5 + aws --endpoint-url=http://localhost:4566 s3api create-bucket --bucket zot-storage --region us-east-2 --create-bucket-configuration="{\"LocationConstraint\": \"us-east-2\"}" env: AWS_ACCESS_KEY_ID: fake AWS_SECRET_ACCESS_KEY: fake diff --git a/.github/workflows/nightly.yaml b/.github/workflows/nightly.yaml index 38c3751dcc..ea6fc4cf8a 100644 --- a/.github/workflows/nightly.yaml +++ b/.github/workflows/nightly.yaml @@ -1,5 +1,8 @@ name: 'Nightly jobs' on: + pull_request: + branches: + - main schedule: - cron: '30 1 * * *' workflow_dispatch: