Skip to content

Commit 08fd63e

Browse files
committed
Update Actions to test Bashbrew the same way we run it everywhere now
Also, explicitly test both Dockerfiles.
1 parent 2b0225b commit 08fd63e

File tree

1 file changed

+16
-9
lines changed

1 file changed

+16
-9
lines changed

.github/workflows/ci.yml

Lines changed: 16 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -18,18 +18,25 @@ jobs:
1818
- uses: actions/checkout@v2
1919
- name: Build
2020
run: |
21-
docker build --tag bashbrew --pull .
22-
docker run --rm bashbrew tar -cC /usr/local/bin bashbrew | tar -xv
23-
./bashbrew --version
21+
./bashbrew.sh --version > /dev/null
22+
bin/bashbrew --version
2423
- name: Smoke Test
2524
run: |
2625
image='https://github.com/docker-library/official-images/raw/master/library/hello-world'
27-
./bashbrew list "$image"
28-
./bashbrew list --uniq "$image"
29-
./bashbrew cat "$image"
30-
./bashbrew from --uniq "$image"
31-
release:
32-
name: Release (test)
26+
bin/bashbrew list "$image"
27+
bin/bashbrew list --uniq "$image"
28+
bin/bashbrew cat "$image"
29+
bin/bashbrew from --uniq "$image"
30+
dockerfile:
31+
name: Test Dockerfile
32+
runs-on: ubuntu-latest
33+
steps:
34+
- uses: actions/checkout@v2
35+
- name: Build Dockerfile
36+
run: |
37+
docker build --pull .
38+
dockerfile-release:
39+
name: Test Dockerfile.release
3340
runs-on: ubuntu-latest
3441
steps:
3542
- uses: actions/checkout@v2

0 commit comments

Comments
 (0)