diff --git a/.github/workflows/docker.yml b/.github/workflows/docker.yml index 3a237b7..827381d 100644 --- a/.github/workflows/docker.yml +++ b/.github/workflows/docker.yml @@ -16,12 +16,12 @@ jobs: uses: actions/checkout@v2.3.4 - name: Build the container image - uses: docker/build-push-action@v2.6.1 + uses: docker/build-push-action@v2.7.0 with: repository: captcha - name: Push to GitHub Packages - uses: docker/build-push-action@v2.6.1 + uses: docker/build-push-action@v2.7.0 if: github.event_name == 'release' || github.event_name == 'push' with: username: ${{ github.actor }} @@ -52,7 +52,7 @@ jobs: if: | (github.event_name == 'release' || github.event_name == 'push') && contains(steps.check_dockerhub_credentials.outputs.missingsecrets, 'no') - uses: docker/build-push-action@v2.6.1 + uses: docker/build-push-action@v2.7.0 with: username: ${{ secrets.DOCKER_USERNAME }} password: ${{ secrets.DOCKER_PASSWORD }} diff --git a/Dockerfile b/Dockerfile index bacf733..bc4f24d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -4,7 +4,7 @@ ARG VCS_REF ARG VERSION # build -FROM golang:1.16.7-alpine as builder +FROM golang:1.17.0-alpine as builder RUN apk add --no-cache git gcc musl-dev make ENV GO111MODULE=on WORKDIR /go/src/moul.io/captcha