aboutsummaryrefslogtreecommitdiffstats
path: root/.github/workflows
diff options
context:
space:
mode:
authorNikita Kozlovskiy <nikitka@gmail.com>2023-07-10 09:02:22 +0000
committernkozlovskiy <nmk@ydb.tech>2023-07-10 12:02:22 +0300
commit6429949bb38ed16f67ed0f725dd86ba695f14eb0 (patch)
tree72128b9fb6daa39cdcefdf2d5943ded74c9dd69a /.github/workflows
parent5c620cbe8cce47e8e8e858aa12e504b636898fe5 (diff)
downloadydb-6429949bb38ed16f67ed0f725dd86ba695f14eb0.tar.gz
ci: local-ydb fix cron run variables and remove cache
ci: local-ydb fix cron run variables and remove cache Pull Request resolved: #303
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/docker_publish.yml6
1 files changed, 2 insertions, 4 deletions
diff --git a/.github/workflows/docker_publish.yml b/.github/workflows/docker_publish.yml
index 2e903eb564..f788ef6a8d 100644
--- a/.github/workflows/docker_publish.yml
+++ b/.github/workflows/docker_publish.yml
@@ -84,14 +84,12 @@ jobs:
push: true
context: .github/docker/
file: .github/docker/Dockerfile
- tags: ghcr.io/${{ github.repository_owner }}/local-ydb:${{ inputs.image_tag }}
- cache-from: type=gha
- cache-to: type=gha,mode=max
+ tags: ghcr.io/${{ github.repository_owner }}/local-ydb:${{ inputs.image_tag || 'trunk' }}
platforms: linux/amd64
provenance: false
build-args: |
GIT_REPO=${{ github.server_url }}/${{ github.repository }}
- GIT_REF=${{ inputs.git_ref }}
+ GIT_REF=${{ inputs.git_ref || 'main' }}
secrets: |
"ccache_remote_storage=${{ vars.REMOTE_CACHE_URL && format('http://{0}{1}', secrets.REMOTE_CACHE_AUTH, vars.REMOTE_CACHE_URL) || ''}}"