Skip to content

Commit

Permalink
Update apprentice-action-test.yml
Browse files Browse the repository at this point in the history
attempt at fixing hung build
  • Loading branch information
lukehaz authored Nov 2, 2023
1 parent c4f0fe7 commit 12a09d7
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions .github/workflows/apprentice-action-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ on:
push:
branches:
- main

jobs:
build:
runs-on: ubuntu-latest
Expand All @@ -11,13 +12,21 @@ jobs:
- name: build Docker image
run: |
docker build -t lukehaz/latest-d-image .
docker run -p 80:80 lukehaz/latest-d-image
test:
run-container:
needs: build
runs-on: ubuntu-latest
steps:
- name: run Docker container
run: docker run -p 80:80 lukehaz/latest-d-image

test:
needs: run-container
runs-on: ubuntu-latest
steps:
- name: run tests
run: |
docker pull ghcr.io/liatrio/github-actions/apprentice-action:latest
docker run -p 80:80 ghcr.io/liatrio/github-actions/apprentice-action:latest

0 comments on commit 12a09d7

Please sign in to comment.