Bump alpine from 3.13.5 to 3.18.3 #164
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Copyright 2019 SolarWinds Worldwide, LLC. | |
# SPDX-License-Identifier: Apache-2.0 | |
name: rkubelog | |
on: | |
push: | |
branches: | |
- '*' | |
paths-ignore: | |
- 'README.md' | |
- 'SECURITY.md' | |
- 'LICENSE' | |
- 'rkubelog/**' | |
pull_request: | |
branches: | |
- master | |
paths-ignore: | |
- 'README.md' | |
- 'SECURITY.md' | |
- 'LICENSE' | |
- 'rkubelog/**' | |
env: | |
IMAGE_NAME: "ghcr.io/solarwinds/rkubelog" | |
jobs: | |
checks: | |
name: Static checks | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out code | |
uses: actions/checkout@v2 | |
with: | |
fetch-depth: 1 | |
- uses: golangci/[email protected] | |
with: | |
version: v1.35 | |
args: --allow-parallel-runners --timeout 3m ./... | |
build: | |
name: build check | |
runs-on: ubuntu-latest | |
needs: [checks] | |
steps: | |
- name: Check out code | |
uses: actions/checkout@v2 | |
with: | |
fetch-depth: 1 | |
- name: Setup Go | |
uses: actions/setup-go@v2 | |
with: | |
go-version: 1.16 | |
- run: make build | |
docker-build: | |
name: docker build check | |
runs-on: ubuntu-latest | |
needs: [build] | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up QEMU | |
uses: docker/setup-qemu-action@v1 | |
- name: Set up Docker Buildx | |
id: buildx | |
uses: docker/setup-buildx-action@v1 | |
- name: Builder instance name | |
run: echo ${{ steps.buildx.outputs.name }} | |
- name: Available platforms | |
run: echo ${{ steps.buildx.outputs.platforms }} | |
- name: Docker build | |
run: | | |
DOCKER_BUILDKIT=1 docker buildx build --platform=linux/amd64,linux/arm64,linux/arm/v7,linux/arm/v6 --no-cache -t ${{ env.IMAGE_NAME }}:latest . |