Skip to content

Commit

Permalink
ci(docker-build): fix build args
Browse files Browse the repository at this point in the history
  • Loading branch information
feightwywx committed Dec 8, 2024
1 parent 5329bcd commit a645116
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/docker-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -68,10 +68,10 @@ jobs:
push: ${{ github.event_name != 'pull_request' }}
tags: ${{ steps.frontend_meta.outputs.tags }}
labels: ${{ steps.frontend_meta.outputs.labels }}
build-args:
- ATB_VERSION=${{ steps.frontend_meta.outputs.version }}
- ATB_VERSION_COMMIT=${{ steps.vars.outputs.sha_short }}
- ATB_TARGET=web
build-args: |
"ATB_VERSION=${{ steps.frontend_meta.outputs.version }}"
"ATB_VERSION_COMMIT=${{ steps.vars.outputs.sha_short }}"
"ATB_TARGET=web"
- name: Backend - Build and push
uses: docker/build-push-action@v6
Expand All @@ -81,8 +81,8 @@ jobs:
push: ${{ github.event_name != 'pull_request' }}
tags: ${{ steps.frontend_meta.outputs.tags }}
labels: ${{ steps.frontend_meta.outputs.labels }}
build-args:
- ATB_VERSION=${{ steps.frontend_meta.outputs.version }}
- ATB_VERSION_COMMIT=${{ steps.vars.outputs.sha_short }}
- ATB_TARGET=web
build-args: |
"ATB_VERSION=${{ steps.frontend_meta.outputs.version }}"
"ATB_VERSION_COMMIT=${{ steps.vars.outputs.sha_short }}"
"ATB_TARGET=web"

0 comments on commit a645116

Please sign in to comment.