Skip to content

Commit

Permalink
WIP using container's docker cmd
Browse files Browse the repository at this point in the history
  • Loading branch information
t-monaghan committed Nov 29, 2023
1 parent 947f4af commit 1a47220
Showing 1 changed file with 16 additions and 4 deletions.
20 changes: 16 additions & 4 deletions .github/workflows/bootstrap-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,19 @@ on:
branches: ['main']

jobs:
docker:
runs:
using: 'docker'
image: 'Dockerfile'
build:
name: build
runs-on: ubuntu-latest
steps:
- name: check out repo
uses: actions/checkout@v2
- name: build test
container:
image: ".devcontainer/Dockerfile"
steps:
- name: Check out code
uses: actions/checkout@v3
- name: Build docker images
run: docker build -t bootstrap-script-test < .devcontainer/Dockerfile
- name: Run tests
run: docker run bootstrap-script-test

0 comments on commit 1a47220

Please sign in to comment.