Skip to content

Commit 7cf23f3

Browse files
polRkblinkov
authored andcommitted
ci: update docker publish workflow to include context when publishing (#14524)
Signed-off-by: Vladislav Polyakov <me@polrk.com>
1 parent acd9bd5 commit 7cf23f3

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/docker_publish.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,7 @@ jobs:
8686
platforms: linux/amd64
8787
provenance: false
8888
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 }}
89+
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
8990

9091
- name: Test docker image
9192
continue-on-error: false
@@ -103,6 +104,6 @@ jobs:
103104
- name: Push docker image
104105
uses: docker/build-push-action@v4
105106
with:
107+
context: .
106108
push: true
107109
tags: ${{ steps.meta.outputs.tags }}
108-
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)