Skip to content
This repository has been archived by the owner on May 8, 2021. It is now read-only.

Commit

Permalink
Fix production workflow (#58)
Browse files Browse the repository at this point in the history
* Update dependencies

* Add SHA to image tag in production workflow

* Bump version to v1.2.0

* Fix production workflow whitespace
  • Loading branch information
lukebettridge authored Mar 21, 2020
1 parent ef1c15b commit ce8251c
Show file tree
Hide file tree
Showing 5 changed files with 1,214 additions and 1,769 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/production.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
- uses: actions/checkout@v1

- name: Build container image
run: docker build -t registry.paddl.co.uk/mern-auth-boilerplate:$GITHUB_REF .
run: docker build -t registry.paddl.co.uk/mern-auth-boilerplate:$(echo $GITHUB_SHA | head -c7) .

- name: Registry authentication
env:
Expand All @@ -28,7 +28,7 @@ jobs:
- uses: actions/checkout@v1

- name: Update deployment file
run: sed -i 's|<IMAGE>|registry.paddl.co.uk/mern-auth-boilerplate:$GITHUB_REF|' $GITHUB_WORKSPACE/config/deployment.yml
run: TAG=$(echo $GITHUB_SHA | head -c7) && sed -i 's|<IMAGE>|registry.paddl.co.uk/mern-auth-boilerplate:'${TAG}'|' $GITHUB_WORKSPACE/config/deployment.yml

- name: Save DigitalOcean kubeconfig
uses: digitalocean/action-doctl@master
Expand Down
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
# MERN Boilerplate with Authentication

![Node CI](https://github.com/lukebettridge/mern-auth-boilerplate/workflows/Node%20CI/badge.svg)
![Cypress E2E](https://github.com/lukebettridge/mern-auth-boilerplate/workflows/Cypress%20E2E/badge.svg)

A boilerplate template project using the MongoDB, Express, React and Node.js technology stack.

Expand Down
Loading

0 comments on commit ce8251c

Please sign in to comment.