Skip to content

docker: bump golang from 1.20.3-alpine to 1.21.1-alpine #34

docker: bump golang from 1.20.3-alpine to 1.21.1-alpine

docker: bump golang from 1.20.3-alpine to 1.21.1-alpine #34

Workflow file for this run

---
name: Review Dockerfile Changes
on:
pull_request:
paths:
- Dockerfile
jobs:
hadolint:
name: Review Dockerfile
runs-on: ubuntu-latest
if: ${{ github.actor != 'dependabot[bot]' }}
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Hadolint
uses: reviewdog/action-hadolint@v1
with:
github_token: ${{ secrets.github_token }}
reporter: github-pr-review
docker:
name: Build
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Prepare
id: prep
run: |-
echo ::set-output name=buildtime::$(date -u +'%FT%TZ%:z')
echo ::set-output name=created::$(date -u +'%Y-%m-%dT%H:%M:%SZ')
- name: Set up QEMU
uses: docker/setup-qemu-action@v1
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1
- name: Build
id: docker_build
uses: docker/build-push-action@v2
with:
context: .
file: ./Dockerfile
platforms: linux/amd64,linux/arm/v7,linux/arm64
push: false
tags: ${{ github.event.repository.name }}:latest
build-args: |-
APPNAME=${{ secrets.APP_NAME }}
PKG=${{ github.repository }}
VERSION=latest
COMMITHASH=${{ github.sha }}
BUILDTIME=${{ steps.prep.outputs.buildtime }}
labels: |-
org.opencontainers.image.title=${{ github.event.repository.name }}
org.opencontainers.image.description=${{ github.event.repository.description }}
org.opencontainers.image.url=${{ github.event.repository.html_url }}
org.opencontainers.image.source=${{ github.event.repository.clone_url }}
org.opencontainers.image.created=${{ steps.prep.outputs.created }}
org.opencontainers.image.revision=${{ github.sha }}
org.opencontainers.image.licenses=${{ github.event.repository.license.spdx_id }}