mirror of
https://github.com/status-im/nim-dagger.git
synced 2025-01-11 15:14:30 +00:00
Use latest tag for Tags and Default branch only (#540)
This commit is contained in:
parent
098baf47d1
commit
fc3eac9dbc
1
.github/workflows/docker-dist-tests.yml
vendored
1
.github/workflows/docker-dist-tests.yml
vendored
@ -26,5 +26,6 @@ jobs:
|
||||
with:
|
||||
nimflags: '-d:disableMarchNative -d:codex_enable_api_debug_peers=true -d:codex_enable_simulated_proof_failures'
|
||||
nat_ip_auto: true
|
||||
tag_latest: ${{ github.ref_name == github.event.repository.default_branch || startsWith(github.ref, 'refs/tags/') }}
|
||||
tag_suffix: dist-tests
|
||||
secrets: inherit
|
||||
|
2
.github/workflows/docker.yml
vendored
2
.github/workflows/docker.yml
vendored
@ -23,4 +23,6 @@ jobs:
|
||||
build-and-push:
|
||||
name: Build and Push
|
||||
uses: ./.github/workflows/docker-reusable.yml
|
||||
with:
|
||||
tag_latest: ${{ github.ref_name == github.event.repository.default_branch || startsWith(github.ref, 'refs/tags/') }}
|
||||
secrets: inherit
|
||||
|
Loading…
x
Reference in New Issue
Block a user