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

Commit

Permalink
Merge pull request #2 from cloudnautique/main
Browse files Browse the repository at this point in the history
Changing to acorn-io
  • Loading branch information
cloudnautique authored Oct 17, 2023
2 parents 363eb97 + 6e07bee commit 22e2590
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 11 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
name: Publish Postgres Acorn image
on:
push:
tags:
- "v*.*.*"
tags:
- "v*.*-*"

jobs:
publish:
Expand Down Expand Up @@ -30,4 +30,4 @@ jobs:
TAG=${GITHUB_REF#refs/*/}
USER=${{ github.repository_owner }}
REPO=${{ github.event.repository.name }}
acorn build --platform linux/amd64 --push -t ghcr.io/$USER/$REPO:$TAG .
acorn build --platform linux/amd64 --push -t ghcr.io/$USER/$REPO:$TAG .
16 changes: 8 additions & 8 deletions examples/Acornfile
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
services: db: image: "ghcr.io/lucj/acorn-postgres:v#.#.#"
services: db: image: "ghcr.io/acorn-io/postgres:v#.#-#"

containers: nextcloud: {
image: "nextcloud"
ports: publish: "80/http"
image: "nextcloud"
ports: publish: "80/http"
consumes: ["db"]
env: {
POSTGRES_HOST: "@{service.db.address}"
POSTGRES_DB: "@{service.db.data.dbName}"
POSTGRES_USER: "@{service.db.secrets.admin.username}"
POSTGRES_PASSWORD: "@{service.db.secrets.admin.password}"
POSTGRES_HOST: "@{service.db.address}"
POSTGRES_DB: "@{service.db.data.dbName}"
POSTGRES_USER: "@{service.db.secrets.admin.username}"
POSTGRES_PASSWORD: "@{service.db.secrets.admin.password}"
}
}
}

0 comments on commit 22e2590

Please sign in to comment.