0.0.7
[update] buildx 支持 amd64 及 arm64 构建
This commit is contained in:
parent
3993f9da1b
commit
5208842943
21
.github/workflows/xray_docker_reality.yml
vendored
21
.github/workflows/xray_docker_reality.yml
vendored
@ -37,14 +37,13 @@ jobs:
|
|||||||
TAG_NAME=$(echo "$FIRST_LINE" | tr -d '[:space:]') # Remove spaces if needed
|
TAG_NAME=$(echo "$FIRST_LINE" | tr -d '[:space:]') # Remove spaces if needed
|
||||||
echo "TAG_NAME=$TAG_NAME" >> $GITHUB_ENV
|
echo "TAG_NAME=$TAG_NAME" >> $GITHUB_ENV
|
||||||
|
|
||||||
- name: Build the Docker image
|
- name: Build and push Docker image
|
||||||
run: docker build --file ./reality/Dockerfile --tag wulabing/xray_docker_reality:${{env.TAG_NAME}} ./reality
|
uses: docker/build-push-action@v4.0.0
|
||||||
|
with:
|
||||||
- name: Build the Docker image latest
|
context: ./reality
|
||||||
run: docker build --file ./reality/Dockerfile --tag wulabing/xray_docker_reality:latest ./reality
|
file: ./reality/Dockerfile
|
||||||
|
platforms: linux/amd64,linux/arm64
|
||||||
- name: Push the Docker image
|
tags: |
|
||||||
run: docker push wulabing/xray_docker_reality:${{env.TAG_NAME}}
|
wulabing/xray_docker_reality:${{env.TAG_NAME}}
|
||||||
|
wulabing/xray_docker_reality:latest
|
||||||
- name: Push the Docker image latest
|
push: true
|
||||||
run: docker push wulabing/xray_docker_reality:latest
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user