Skip to content

Commit c1200f3

Browse files
committed
Updated docs on building and pushing containers
1 parent e070289 commit c1200f3

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,9 @@ The Docker image lives in [Docker Hub](https://hub.docker.com/repository/docker/
2424
Build with:
2525

2626
```bash
27-
docker build . -t localgovdrupal/apache-php:php7.4
28-
docker push localgovdrupal/apache-php:php7.4
27+
export branch=$(git symbolic-ref --short HEAD)
28+
docker build . -t localgovdrupal/apache-php:$branch
29+
docker push localgovdrupal/apache-php:$branch
2930
```
3031

3132
## Maintainers
@@ -34,4 +35,3 @@ This project is currently maintained by:
3435

3536
- Finn Lewis: https://github.com/finnlewis
3637
- Stephen Cox: https://github.com/stephen-cox
37-

0 commit comments

Comments
 (0)