fix: bake file

This commit is contained in:
Bohdan Kucherivayi 2024-11-27 23:30:23 +02:00
parent e83ea40f41
commit 1f8677f62f
2 changed files with 5 additions and 5 deletions

View file

@ -63,7 +63,7 @@ jobs:
echo "NODE_VERSION=${{ inputs.node_version }}" >> "$GITHUB_ENV" echo "NODE_VERSION=${{ inputs.node_version }}" >> "$GITHUB_ENV"
- name: Build - name: Build
uses: docker/bake-action@v4.1.0 uses: docker/bake-action@v5.10.0
with: with:
push: true push: true
env: env:
@ -91,6 +91,6 @@ jobs:
- name: Push - name: Push
if: ${{ inputs.push }} if: ${{ inputs.push }}
uses: docker/bake-action@v4.1.0 uses: docker/bake-action@v5.10.0
with: with:
push: true push: true

View file

@ -69,7 +69,7 @@ target "bench-test" {
# Base for all other targets # Base for all other targets
group "default" { group "default" {
targets = ["erp", "base", "build"] targets = ["erpnext", "base", "build"]
} }
function "tag" { function "tag" {
@ -102,11 +102,11 @@ target "default-args" {
} }
} }
target "erp" { target "erpnext" {
inherits = ["default-args"] inherits = ["default-args"]
context = "." context = "."
dockerfile = "images/production/Containerfile" dockerfile = "images/production/Containerfile"
target = "erp" target = "erpnext"
tags = tag("erp", "${ERPNEXT_VERSION}") tags = tag("erp", "${ERPNEXT_VERSION}")
} }