Skip to content

Commit aa213ee

Browse files
polRkblinkov
authored andcommitted
ci: ensure Dockerfile context is specified in publish workflow (#14531)
Signed-off-by: Vladislav Polyakov <polrk@ydb.tech>
1 parent 8f8a3bc commit aa213ee

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

.github/workflows/docker_publish.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,8 +79,8 @@ jobs:
7979
uses: docker/build-push-action@v4
8080
with:
8181
context: .
82-
load: true
8382
file: main/.github/docker/Dockerfile
83+
load: true
8484
tags: ${{ steps.meta.outputs.tags }}
8585
labels: ${{ steps.meta.outputs.labels }}
8686
platforms: linux/amd64
@@ -105,5 +105,11 @@ jobs:
105105
uses: docker/build-push-action@v4
106106
with:
107107
context: .
108+
file: main/.github/docker/Dockerfile
108109
push: true
109110
tags: ${{ steps.meta.outputs.tags }}
111+
labels: ${{ steps.meta.outputs.labels }}
112+
platforms: linux/amd64
113+
provenance: false
114+
cache-from: type=s3,name=local_ydb,region=ru-central1,bucket=${{ vars.AWS_BUCKET }},endpoint_url=${{ vars.AWS_ENDPOINT }},access_key_id=${{ secrets.AWS_KEY_ID }},secret_access_key=${{ secrets.AWS_KEY_VALUE }}
115+
cache-to: type=s3,name=local_ydb,region=ru-central1,bucket=${{ vars.AWS_BUCKET }},endpoint_url=${{ vars.AWS_ENDPOINT }},access_key_id=${{ secrets.AWS_KEY_ID }},secret_access_key=${{ secrets.AWS_KEY_VALUE }},mode=max

0 commit comments

Comments
 (0)