diff --git a/.github/workflows/on-master-push.yml b/.github/workflows/on-master-push.yml index ef5ebd6..ef8191c 100644 --- a/.github/workflows/on-master-push.yml +++ b/.github/workflows/on-master-push.yml @@ -11,22 +11,22 @@ env: jobs: build: name: Build Docker image - runs-on: ubuntu-18.04 + runs-on: ubuntu-20.04 env: - VERSION: v2.4.1 + VERSION: v2.7.0 steps: - name: Login to Docker Hub run: echo "${{ secrets.DOCKER_PASSWORD }}" | docker login -u "${{ secrets.DOCKER_USERNAME }}" --password-stdin - name: Checkout project - uses: actions/checkout@v2 + uses: actions/checkout@v3 - name: Set up QEMU - uses: docker/setup-qemu-action@v1 + uses: docker/setup-qemu-action@v2 id: qemu - name: Setup Docker buildx action - uses: docker/setup-buildx-action@v1 + uses: docker/setup-buildx-action@v2 id: buildx - name: Show available Docker buildx platforms diff --git a/Dockerfile b/Dockerfile index cf07829..7c6022c 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM docker.io/library/golang:1.17 AS builder +FROM docker.io/library/golang:1.21.4 AS builder ARG VERSION=main