Compare commits

...

2 Commits

Author SHA1 Message Date
jango-blockchained
d6bb83685d chore: upgrade GitHub Actions Docker workflow dependencies
- Update GitHub Actions workflow to use latest versions of checkout, login, metadata, and build-push actions
- Bump action versions from v2/v3/v4 to v3/v4/v5 for improved compatibility and features
2025-02-04 15:11:36 +01:00
jango-blockchained
54112c9059 chore: manage bun.lockb in Docker and project configuration
- Update .dockerignore to exclude bun.lockb
- Modify .gitignore to track bun.lockb
- Update Dockerfile to remove bun.lockb copy step
- Add bun.lockb binary lockfile to the repository
2025-02-04 15:08:15 +01:00
5 changed files with 7 additions and 6 deletions

View File

@@ -73,6 +73,7 @@ temp/
.cloud/ .cloud/
*.db *.db
*.db-* *.db-*
bun.lockb
.cursor/ .cursor/
.cursor* .cursor*
.cursorconfig .cursorconfig

View File

@@ -20,7 +20,7 @@ jobs:
steps: steps:
- name: Checkout repository - name: Checkout repository
uses: actions/checkout@v3 uses: actions/checkout@v4
with: with:
fetch-depth: 0 # Required for version detection fetch-depth: 0 # Required for version detection
@@ -41,7 +41,7 @@ jobs:
body: ${{ steps.tag_version.outputs.changelog }} body: ${{ steps.tag_version.outputs.changelog }}
- name: Log in to the Container registry - name: Log in to the Container registry
uses: docker/login-action@v2 uses: docker/login-action@v3
with: with:
registry: ${{ env.REGISTRY }} registry: ${{ env.REGISTRY }}
username: ${{ github.actor }} username: ${{ github.actor }}
@@ -49,7 +49,7 @@ jobs:
- name: Extract metadata (tags, labels) for Docker - name: Extract metadata (tags, labels) for Docker
id: meta id: meta
uses: docker/metadata-action@v4 uses: docker/metadata-action@v5
with: with:
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }} images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
tags: | tags: |
@@ -57,7 +57,7 @@ jobs:
type=raw,value=latest type=raw,value=latest
- name: Build and push Docker image - name: Build and push Docker image
uses: docker/build-push-action@v4 uses: docker/build-push-action@v5
with: with:
context: . context: .
push: true push: true

2
.gitignore vendored
View File

@@ -65,7 +65,6 @@ home-assistant_v2.db-*
package-lock.json package-lock.json
yarn.lock yarn.lock
pnpm-lock.yaml pnpm-lock.yaml
bun.lockb
coverage/* coverage/*
coverage/ coverage/
@@ -79,3 +78,4 @@ coverage/
.bun/ .bun/
.cursorconfig .cursorconfig
bun.lockb

View File

@@ -5,7 +5,7 @@ FROM oven/bun:1.0.25
WORKDIR /app WORKDIR /app
# Copy package files # Copy package files
COPY package.json bun.lockb ./ COPY package.json ./
# Install dependencies # Install dependencies
RUN bun install RUN bun install

BIN
bun.lockb Executable file

Binary file not shown.