-
Notifications
You must be signed in to change notification settings - Fork 29
57 lines (53 loc) · 1.31 KB
/
test.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
name: Test
on:
pull_request:
paths-ignore:
- ".github/workflows/*.yaml"
- "!.github/workflows/test.yaml"
push:
paths-ignore:
- ".github/workflows/*.yaml"
- "!.github/workflows/test.yaml"
branches-ignore:
- "dependabot/**"
- "pre-commit-ci-update-config"
tags: ["**"]
schedule:
# Run at 05:00 every day, ref: https://crontab.guru/#0_5_*_*_*
- cron: "0 5 * * *"
workflow_dispatch:
jobs:
test-registry:
runs-on: ubuntu-latest
strategy:
matrix:
image_name: ['repo2docker-test', '']
tag: ['test-tag', '']
no_push: [true, '']
latest_off: [true, '']
services:
local-registry:
image: registry:2
ports:
- 5000:5000
steps:
- uses: actions/checkout@v4
- name: test action
uses: ./
with:
IMAGE_NAME: ${{ matrix.image_name }}
ADDITIONAL_TAG: ${{ matrix.tag }}
NO_PUSH: ${{ matrix.push }}
LATEST_TAG_OFF: ${{ matrix.latest_off }}
DOCKER_REGISTRY: "localhost:5000"
DOCKER_USERNAME: 'foo'
DOCKER_PASSWORD: 'foo'
mybinder:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: mybinder
uses: ./
with:
NO_PUSH: true
MYBINDERORG_TAG: ${{ github.sha }}