fix pull context CI/CD.

This commit is contained in:
Miroslav Šedivý
2023-09-30 20:51:48 +02:00
parent 500d6b6993
commit ff5e3267db
+4
View File
@@ -96,6 +96,10 @@ jobs:
name: Build and push name: Build and push
uses: docker/build-push-action@v2 uses: docker/build-push-action@v2
with: with:
# Turns out the build-push-action runs in a "GitHub" context by default.
# At the very least, it means pulling down your repository as part of pre-Dockerfile command.
# You can change it to the "file" context by using:
context: .
tags: ${{ steps.meta.outputs.tags }} tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }} labels: ${{ steps.meta.outputs.labels }}
platforms: linux/amd64,linux/arm64,linux/arm/v7 platforms: linux/amd64,linux/arm64,linux/arm/v7