Skip to content

Commit 34940d5

Browse files
committed
update action docker/build-push-action context
1 parent d9308ed commit 34940d5

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

.github/workflows/docker.yaml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,7 @@ jobs:
1313

1414
steps:
1515
- uses: actions/checkout@v4
16-
- run: |
17-
git fetch --prune --unshallow --tags
18-
git submodule update --init --recursive
16+
- run: git fetch --prune --unshallow --tags
1917

2018
- name: Extract metadata (tags, labels) for Docker
2119
id: meta
@@ -50,6 +48,7 @@ jobs:
5048
uses: docker/build-push-action@v6
5149
id: push
5250
with:
51+
context: .
5352
push: true
5453
tags: ${{ steps.meta.outputs.tags }}
5554
platforms: linux/amd64,linux/arm64,linux/riscv64,linux/ppc64le,linux/s390x,linux/386,linux/arm/v7,linux/arm/v6

Dockerfile

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ WORKDIR /v4l2onvif
66
COPY . .
77

88
RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends ca-certificates git g++ make cmake gsoap libgsoap-dev libssl-dev zlib1g-dev \
9-
&& ls -altr \
109
&& make \
1110
&& make install \
1211
&& apt-get clean && rm -rf /var/lib/apt/lists/

0 commit comments

Comments
 (0)