Skip to content

Commit 904f023

Browse files
committed
Add docker pull test - no build
1 parent 76adb8b commit 904f023

File tree

3 files changed

+34
-2
lines changed

3 files changed

+34
-2
lines changed

.github/workflows/docker-image-quickrun.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
runs-on: ubuntu-latest
1414

1515
steps:
16-
- uses: actions/checkout@v2
16+
- uses: actions/checkout@v3
1717
- name: Build the Docker image
1818
run: |
1919
chmod a+w output/

.github/workflows/docker-image.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
runs-on: ubuntu-latest
1414

1515
steps:
16-
- uses: actions/checkout@v2
16+
- uses: actions/checkout@v3
1717
- name: Build the Docker image
1818
run: |
1919
chmod a+w output/

.github/workflows/docker-pull.yml

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
name: Docker Pull Test
2+
3+
on:
4+
push:
5+
branches: [ master, dev* ]
6+
pull_request:
7+
branches: [ master, dev* ]
8+
9+
jobs:
10+
11+
build:
12+
13+
runs-on: ubuntu-latest
14+
15+
steps:
16+
- uses: actions/checkout@v3
17+
18+
- name: Run the Docker image
19+
run: |
20+
# Don't build. Will be pulled when run below
21+
./run-quick.sh
22+
23+
- name: Info on Docker images
24+
run: |
25+
docker -v
26+
docker images
27+
28+
- name: Info on generated files
29+
run: |
30+
ls -alt
31+
ls -alt output
32+
ls -alt output/*

0 commit comments

Comments
 (0)