From 1bd381c9550b501c2f50bf9880f197d45f7fc3f3 Mon Sep 17 00:00:00 2001 From: Neur0toxine Date: Tue, 26 Jul 2022 16:30:18 +0300 Subject: [PATCH] add workdir --- .github/workflows/buildx.yml | 4 ++-- 1.16-3.13/Dockerfile | 1 + 1.16/Dockerfile | 1 + 1.17-3.13/Dockerfile | 1 + 1.17/Dockerfile | 1 + 1.18/Dockerfile | 1 + 6 files changed, 7 insertions(+), 2 deletions(-) diff --git a/.github/workflows/buildx.yml b/.github/workflows/buildx.yml index 31ac1f6..294d41c 100644 --- a/.github/workflows/buildx.yml +++ b/.github/workflows/buildx.yml @@ -71,7 +71,7 @@ jobs: run: echo ${{ steps.buildx.outputs.platforms }} - name: Docker Buildx (build) - uses: docker/build-push-action@v3.0.0 + uses: docker/build-push-action@v3.1.0 if: success() && !contains(github.ref, 'master') with: push: false @@ -89,7 +89,7 @@ jobs: password: ${{ secrets.DOCKER_PASSWORD }} - name: Docker Buildx (push) - uses: docker/build-push-action@v3.0.0 + uses: docker/build-push-action@v3.1.0 if: success() && contains(github.ref, 'master') with: push: true diff --git a/1.16-3.13/Dockerfile b/1.16-3.13/Dockerfile index bc25b6f..3630e43 100644 --- a/1.16-3.13/Dockerfile +++ b/1.16-3.13/Dockerfile @@ -1,4 +1,5 @@ FROM golang:1.16-alpine3.13 +WORKDIR / RUN apk add --no-cache bash make git gcc libc-dev jq curl dumb-init RUN cd /tmp && \ git clone https://github.com/go-delve/delve && \ diff --git a/1.16/Dockerfile b/1.16/Dockerfile index fa96624..aa4d3da 100644 --- a/1.16/Dockerfile +++ b/1.16/Dockerfile @@ -1,4 +1,5 @@ FROM golang:1.16-alpine +WORKDIR / RUN apk add --no-cache bash make git gcc libc-dev jq curl dumb-init RUN cd /tmp && \ git clone https://github.com/go-delve/delve && \ diff --git a/1.17-3.13/Dockerfile b/1.17-3.13/Dockerfile index 5843e43..acc7f57 100644 --- a/1.17-3.13/Dockerfile +++ b/1.17-3.13/Dockerfile @@ -1,4 +1,5 @@ FROM golang:1.17-alpine3.13 +WORKDIR / RUN apk add --no-cache bash make git gcc libc-dev jq curl dumb-init RUN cd /tmp && \ git clone https://github.com/go-delve/delve && \ diff --git a/1.17/Dockerfile b/1.17/Dockerfile index 95eeda8..01edb26 100644 --- a/1.17/Dockerfile +++ b/1.17/Dockerfile @@ -1,4 +1,5 @@ FROM golang:1.17-alpine +WORKDIR / RUN apk add --no-cache bash make git gcc libc-dev jq curl dumb-init RUN cd /tmp && \ git clone https://github.com/go-delve/delve && \ diff --git a/1.18/Dockerfile b/1.18/Dockerfile index c8eedc3..a02edd6 100644 --- a/1.18/Dockerfile +++ b/1.18/Dockerfile @@ -1,4 +1,5 @@ FROM golang:1.18-alpine +WORKDIR / RUN apk add --no-cache bash make git gcc libc-dev jq curl dumb-init RUN cd /tmp && \ git clone https://github.com/go-delve/delve && \