Skip to content

Commit 350ff10

Browse files
committed
add GitHub Actions workflow to test building of container images
1 parent ca2f5dc commit 350ff10

File tree

3 files changed

+12
-1
lines changed

3 files changed

+12
-1
lines changed
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
name: Test containers
2+
3+
on: [push, pull_request]
4+
5+
jobs:
6+
test-client-container:
7+
runs-on: ubuntu-latest
8+
steps:
9+
- uses: actions/checkout@v2
10+
- name: Build the Docker image
11+
run: docker build . --file containers/Dockerfile.EESSI-client-pilot-centos7
File renamed without changes.

containers/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ see https://hub.docker.com/repository/docker/eessi/client-pilot and https://eess
1111

1212
```shell
1313
export EESSI_PILOT_VERSION=2020.09
14-
docker build --no-cache -f Dockerfile.EESSI-client-pilot-centos7-${EESSI_PILOT_VERSION} -t eessi/client-pilot:centos7-${EESSI_PILOT_VERSION} .
14+
docker build --no-cache -f Dockerfile.EESSI-client-pilot-centos7 -t eessi/client-pilot:centos7-${EESSI_PILOT_VERSION} .
1515
```
1616

1717
### Push to Docker Hub (requires credentials)

0 commit comments

Comments
 (0)