1
0
mirror of https://github.com/SoftEtherVPN/SoftEtherVPN.git synced 2025-02-23 23:09:56 +03:00

CI: docker: fix tags

This commit is contained in:
Ilia Shipitsin 2025-02-17 16:02:24 +01:00
parent a4c3713f4b
commit a7a7eef82b

View File

@ -20,7 +20,7 @@ jobs:
id: metavpnserver id: metavpnserver
uses: docker/metadata-action@v5 uses: docker/metadata-action@v5
with: with:
images: softethervpn/vpnserver images: ${{ github.repository_owner }}/vpnserver
tags: | tags: |
type=raw,value=latest,enable={{is_default_branch}} type=raw,value=latest,enable={{is_default_branch}}
type=ref,event=pr type=ref,event=pr
@ -31,7 +31,7 @@ jobs:
id: metavpnclient id: metavpnclient
uses: docker/metadata-action@v5 uses: docker/metadata-action@v5
with: with:
images: softethervpn/vpnclient images: ${{ github.repository_owner }}/vpnclient
tags: | tags: |
type=raw,value=latest,enable={{is_default_branch}} type=raw,value=latest,enable={{is_default_branch}}
type=ref,event=pr type=ref,event=pr
@ -42,7 +42,7 @@ jobs:
id: metavpnbridge id: metavpnbridge
uses: docker/metadata-action@v5 uses: docker/metadata-action@v5
with: with:
images: softethervpn/vpnbridge images: ${{ github.repository_owner }}/vpnbridge
tags: | tags: |
type=raw,value=latest,enable={{is_default_branch}} type=raw,value=latest,enable={{is_default_branch}}
type=ref,event=pr type=ref,event=pr
@ -74,8 +74,8 @@ jobs:
target: vpnserver target: vpnserver
push: ${{ github.event_name != 'pull_request' }} push: ${{ github.event_name != 'pull_request' }}
platforms: linux/amd64,linux/arm64 platforms: linux/amd64,linux/arm64
tags: ${{ steps.meta.outputs.tags }} tags: ${{ steps.metavpnserver.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }} labels: ${{ steps.metavpnserver.outputs.labels }}
- -
name: Build and push vpnclient name: Build and push vpnclient
uses: docker/build-push-action@v6 uses: docker/build-push-action@v6
@ -84,8 +84,8 @@ jobs:
target: vpnclient target: vpnclient
push: ${{ github.event_name != 'pull_request' }} push: ${{ github.event_name != 'pull_request' }}
platforms: linux/amd64,linux/arm64 platforms: linux/amd64,linux/arm64
tags: ${{ steps.meta.outputs.tags }} tags: ${{ steps.metavpnclient.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }} labels: ${{ steps.metavpnclient.outputs.labels }}
- -
name: Build and push vpnbridge name: Build and push vpnbridge
uses: docker/build-push-action@v6 uses: docker/build-push-action@v6
@ -94,5 +94,5 @@ jobs:
target: vpnbridge target: vpnbridge
push: ${{ github.event_name != 'pull_request' }} push: ${{ github.event_name != 'pull_request' }}
platforms: linux/amd64,linux/arm64 platforms: linux/amd64,linux/arm64
tags: ${{ steps.meta.outputs.tags }} tags: ${{ steps.metavpnbridge.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }} labels: ${{ steps.metavpnbridge.outputs.labels }}