Skip to content

Commit

Permalink
Modify yml build
Browse files Browse the repository at this point in the history
  • Loading branch information
sk81biz committed Dec 26, 2024
1 parent 27f8279 commit 2870174
Showing 1 changed file with 7 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,17 @@ on:
- 'hotfix/v*'
- 'release/v*'
- 'develop'
paths:
- '.github/workflows/docker-build-test.yml'

workflow_dispatch:

env:
DOCKER_PATH: "/docker"
REPO: ${{ secrets.DOCKERHUB_USERNAME }}
DOCKER_IMAGE_PREFIX: "4testing-docspace"
DOCKERFILE: "Dockerfile.app"
DOCKERFILE: "./docker/Dockerfile.app"
DOCKER_TAG: develop

jobs:

Expand Down Expand Up @@ -66,14 +69,13 @@ jobs:
uses: docker/build-push-action@v6
with:
context: .
platforms: linux/amd64,linux/arm64
platforms: ${{ matrix.platform }}
push: true
target: src-test
file: ./docker/Dockerfile.app
tags: sk81biz/4testing-docspace-file-services:1.0.1
file: ${{ env.DOCKERFILE }}
tags: ${{ secrets.DOCKERHUB_USERNAME }}/4testing-docspace-src:${{ env.DOCKER_TAG }}
build-args: GIT_BRANCH=develop


# docker buildx bake -f build.yml \
# --set *.args.GIT_BRANCH=${{ github.GITHUB_REF_NAME }} \
# --set *.args.PRODUCT_VERSION=${PRODUCT_VERSION} \
Expand Down

0 comments on commit 2870174

Please sign in to comment.