Skip to content
This repository has been archived by the owner on Mar 16, 2024. It is now read-only.

Commit

Permalink
Cleaned up, and added links. (#3)
Browse files Browse the repository at this point in the history
Signed-off-by: Bill Maxwell <[email protected]>
  • Loading branch information
cloudnautique authored Nov 6, 2023
1 parent 85f489d commit edea74c
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,5 +29,5 @@ jobs:
run: |
TAG=${GITHUB_REF#refs/*/}
USER=${{ github.repository_owner }}
REPO="students"
acorn build --platform linux/amd64 --push -t ghcr.io/$USER/$REPO:$TAG .
REPO=${{ github.repository }}
acorn build --platform linux/amd64 --platform linux/arm64 --push -t ghcr.io/$USER/$REPO:$TAG .
2 changes: 2 additions & 0 deletions Acornfile
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
name: "Student App Example"

services: {
db: {
image: "ghcr.io/acorn-io/mariadb:v10.#.#-#"
Expand Down
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ This repo contains the code for the hands on example in the Acorn docs.

## Running the example

[![Run in Acorn](https://acorn.io/v1-ui/run/badge?image=ghcr.io+acorn-io+docs-hands-on-example:prod&ref=cloudnautique)](https://acorn.io/run/ghcr.io/acorn-io/docs-hands-on-example:prod?ref=cloudnautique)

To run from source or in Dev mode.

```shell
git clone https://github.com/acorn-io/docs-hands-on-example.git
cd docs-hands-on-example
Expand Down
2 changes: 1 addition & 1 deletion deploy.Acornfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
acorns: students: {
image: "ghcr.io/cloudnautique/students:prod"
image: "ghcr.io/acorn-io/docs-hands-on-example:prod"
autoUpgrade: true
autoUpgradeInterval: "5m"
}

0 comments on commit edea74c

Please sign in to comment.