Skip to content

Commit

Permalink
Add docker pull test - no build
Browse files Browse the repository at this point in the history
  • Loading branch information
pgleeson committed Sep 12, 2023
1 parent 76adb8b commit 904f023
Show file tree
Hide file tree
Showing 3 changed files with 34 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/docker-image-quickrun.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Build the Docker image
run: |
chmod a+w output/
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Build the Docker image
run: |
chmod a+w output/
Expand Down
32 changes: 32 additions & 0 deletions .github/workflows/docker-pull.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: Docker Pull Test

on:
push:
branches: [ master, dev* ]
pull_request:
branches: [ master, dev* ]

jobs:

build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3

- name: Run the Docker image
run: |
# Don't build. Will be pulled when run below
./run-quick.sh
- name: Info on Docker images
run: |
docker -v
docker images
- name: Info on generated files
run: |
ls -alt
ls -alt output
ls -alt output/*

0 comments on commit 904f023

Please sign in to comment.