Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
D
dify
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
ai-tech
dify
Commits
ac884d20
Commit
ac884d20
authored
Aug 05, 2023
by
John Wang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: remove arm64 build in branch deploy/dev
parent
2f994f41
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
2 deletions
+4
-2
build-api-image.yml
.github/workflows/build-api-image.yml
+1
-1
build-web-image.yml
.github/workflows/build-web-image.yml
+3
-1
No files found.
.github/workflows/build-api-image.yml
View file @
ac884d20
...
@@ -43,7 +43,7 @@ jobs:
...
@@ -43,7 +43,7 @@ jobs:
uses
:
docker/build-push-action@v4
uses
:
docker/build-push-action@v4
with
:
with
:
context
:
"
{{defaultContext}}:api"
context
:
"
{{defaultContext}}:api"
platforms
:
linux/amd64,linux/arm64
platforms
:
${{ github.ref == 'refs/heads/deploy/dev' && 'linux/amd64' || 'linux/amd64,linux/arm64' }}
build-args
:
|
build-args
:
|
COMMIT_SHA=${{ fromJSON(steps.meta.outputs.json).labels['org.opencontainers.image.revision'] }}
COMMIT_SHA=${{ fromJSON(steps.meta.outputs.json).labels['org.opencontainers.image.revision'] }}
push
:
true
push
:
true
...
...
.github/workflows/build-web-image.yml
View file @
ac884d20
...
@@ -43,12 +43,14 @@ jobs:
...
@@ -43,12 +43,14 @@ jobs:
uses
:
docker/build-push-action@v4
uses
:
docker/build-push-action@v4
with
:
with
:
context
:
"
{{defaultContext}}:web"
context
:
"
{{defaultContext}}:web"
platforms
:
linux/amd64,linux/arm64
platforms
:
${{ github.ref == 'refs/heads/deploy/dev' && 'linux/amd64' || 'linux/amd64,linux/arm64' }}
build-args
:
|
build-args
:
|
COMMIT_SHA=${{ fromJSON(steps.meta.outputs.json).labels['org.opencontainers.image.revision'] }}
COMMIT_SHA=${{ fromJSON(steps.meta.outputs.json).labels['org.opencontainers.image.revision'] }}
push
:
true
push
:
true
tags
:
${{ steps.meta.outputs.tags }}
tags
:
${{ steps.meta.outputs.tags }}
labels
:
${{ steps.meta.outputs.labels }}
labels
:
${{ steps.meta.outputs.labels }}
cache-from
:
type=gha
cache-to
:
type=gha,mode=max
-
name
:
Deploy to server
-
name
:
Deploy to server
if
:
github.ref == 'refs/heads/deploy/dev'
if
:
github.ref == 'refs/heads/deploy/dev'
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment