Skip to content

Commit

Permalink
ci: Remove docker compose update
Browse files Browse the repository at this point in the history
  • Loading branch information
bennetrr committed Dec 21, 2024
1 parent 677886f commit 4bbfee1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 34 deletions.
33 changes: 0 additions & 33 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -124,44 +124,12 @@ jobs:
name: bennetrr/brickinv-backend
version: ${{ needs.setup.outputs.next-version-name }}

docker-compose:
name: Update versions in docker-compose.yml
needs:
- setup
- merge-frontend
- merge-backend
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- uses: actions/checkout@v4

- name: Update versions in docker-compose.yml
run: |
sed -i -E 's/ghcr\.io\/bennetrr\/brickinv-(frontend|backend):v[0-9]+\.[0-9]+\.[0-9]+/ghcr.io\/bennetrr\/brickinv-\1:${{ needs.setup.outputs.next-version-name }}/g' docker-compose.yml
- name: Save docker-compose.yml
id: save-docker-compose
run: |
{
echo 'docker-compose<<EOF'
cat docker-compose.yml
echo EOF
} >> "$GITHUB_OUTPUT"
- name: Commit changes
uses: EndBug/add-and-commit@v9
with:
add: docker-compose.yml
push: true

github-release:
name: Create GitHub release
needs:
- setup
- merge-frontend
- merge-backend
- docker-compose
runs-on: ubuntu-latest
permissions:
contents: write
Expand All @@ -182,7 +150,6 @@ jobs:
- setup
- merge-frontend
- merge-backend
- docker-compose
runs-on: ubuntu-latest
steps:
- name: Install ssh keys
Expand Down
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -139,13 +139,14 @@ pnpm dev:prod

### Setup

Download the following files from the [latest release branch](https://github.com/bennetrr/brickinv/tree/release/v2.0):
Download the following files from the [release branch](https://github.com/bennetrr/brickinv/tree/release):

- `docker-compose.yml`
- `setup.sql`
- `src/frontend/public/env/env.template.js` as `env.js`
- `backend.env`

Replace the container tags in the `docker-compose.yml` file with the latest version.
Replace the empty strings in the `env.js` and `backend.env` files with your own values.
The configuration fields are documented in the [Configuration](#configuration) section.

Expand Down

0 comments on commit 4bbfee1

Please sign in to comment.