Browse Source

Chore(docker): re-tag to dev

pull/133/head
xjasonlyu 3 years ago
parent
commit
0e5dafd36b
  1. 6
      .github/workflows/docker.yml

6
.github/workflows/docker.yml

@ -47,7 +47,7 @@ jobs:
run: | run: |
echo ::set-output name=version::$(git describe --tags --abbrev=0) echo ::set-output name=version::$(git describe --tags --abbrev=0)
- name: Build and Push (nightly) - name: Build and Push (dev)
if: github.ref == 'refs/heads/main' if: github.ref == 'refs/heads/main'
uses: docker/build-push-action@v2 uses: docker/build-push-action@v2
with: with:
@ -55,8 +55,8 @@ jobs:
push: true push: true
platforms: linux/amd64,linux/arm/v7,linux/arm64 platforms: linux/amd64,linux/arm/v7,linux/arm64
tags: | tags: |
xjasonlyu/tun2socks:nightly xjasonlyu/tun2socks:dev
ghcr.io/xjasonlyu/tun2socks:nightly ghcr.io/xjasonlyu/tun2socks:dev
- name: Build and Push (latest) - name: Build and Push (latest)
if: startsWith(github.ref, 'refs/tags/') if: startsWith(github.ref, 'refs/tags/')

Loading…
Cancel
Save