File tree Expand file tree Collapse file tree 2 files changed +8
-10
lines changed
Expand file tree Collapse file tree 2 files changed +8
-10
lines changed Original file line number Diff line number Diff line change 11name : Build and Push Docker Image
2- env :
3- DOCKER_BUILDKIT : 1
4- COMPOSE_DOCKER_CLI_BUILD : 1
52on :
63 push :
74 branches :
@@ -56,12 +53,13 @@ jobs:
5653 run : |
5754 REPO_NAME="${GITHUB_REPOSITORY,,}"
5855 IMAGE_TAG="${{ steps.set-tag.outputs.IMAGE_TAG }}"
59- # Build and tag with version
60- docker build -t ghcr.io/${REPO_NAME}:${IMAGE_TAG} .
61- docker push ghcr.io/${REPO_NAME}:${IMAGE_TAG}
62- # Also tag as latest
63- docker tag ghcr.io/${REPO_NAME}:${IMAGE_TAG} ghcr.io/${REPO_NAME}:latest
64- docker push ghcr.io/${REPO_NAME}:latest
56+
57+ docker buildx build \
58+ --platform linux/amd64,linux/arm64 \
59+ -t ghcr.io/${REPO_NAME}:${IMAGE_TAG} \
60+ -t ghcr.io/${REPO_NAME}:latest \
61+ --push \
62+ .
6563 - name : Create and Push Git Tag
6664 run : |
6765 VERSION="${{ steps.get-version.outputs.VERSION }}"
Original file line number Diff line number Diff line change 1- __version__ = "1.3.4 "
1+ __version__ = "1.3.5 "
You can’t perform that action at this time.
0 commit comments