mirror of
https://github.com/v2rayA/v2rayA.git
synced 2026-11-20 23:02:25 +03:00
chore: correct docker image tag
This commit is contained in:
1 parent
d9ecff7006
commit
663b0577f2
2 files changed
+3
-18
No files matched your search
@@ -17,7 +17,7 @@ jobs:
|
||||
TAG=$(echo $GITHUB_REF | cut -d / -f 3)
|
||||
IMAGE="mzz2017/v2raya"
|
||||
echo ::set-output name=image::${IMAGE}
|
||||
echo ::set-output name=tag::${TAG}
|
||||
echo ::set-output name=tag::${TAG:1}
|
||||
|
||||
- name: Set up QEMU
|
||||
uses: docker/setup-qemu-action@v1
|
||||
|
||||
@@ -16,14 +16,6 @@ jobs:
|
||||
- name: Set up Docker Buildx
|
||||
uses: docker/setup-buildx-action@v1
|
||||
|
||||
- name: Cache Docker layers
|
||||
uses: actions/cache@v2
|
||||
with:
|
||||
path: /tmp/.buildx-cache
|
||||
key: ${{ runner.os }}-single-buildx-${{ github.sha }}
|
||||
restore-keys: |
|
||||
${{ runner.os }}-single-buildx
|
||||
|
||||
- name: Login to DockerHub
|
||||
uses: docker/login-action@v1
|
||||
with:
|
||||
@@ -38,12 +30,5 @@ jobs:
|
||||
platforms: linux/arm,linux/arm64,linux/amd64
|
||||
push: true
|
||||
tags: mzz2017/v2raya-gui:latest
|
||||
cache-from: type=local,src=/tmp/.buildx-cache
|
||||
cache-to: type=local,dest=/tmp/.buildx-cache-new
|
||||
# Temp fix
|
||||
# https://github.com/docker/build-push-action/issues/252
|
||||
# https://github.com/moby/buildkit/issues/1896
|
||||
- name: Move cache
|
||||
run: |
|
||||
rm -rf /tmp/.buildx-cache
|
||||
mv /tmp/.buildx-cache-new /tmp/.buildx-cache
|
||||
cache-from: type=gha
|
||||
cache-to: type=gha,mode=max
|
||||
Reference in new issue
Block a user