Merge pull request #22 from zapal-tech/main

fix: bake file
This commit is contained in:
Bohdan Kucheriavyi 2024-11-27 23:30:41 +02:00 committed by GitHub
commit 1e9b4e77b5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 5 additions and 5 deletions

View file

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

View file

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