Skip to content

build: upgrade to golang 1.20 and bump container base images #26

build: upgrade to golang 1.20 and bump container base images

build: upgrade to golang 1.20 and bump container base images #26

Workflow file for this run

name: Container
on:
pull_request:
paths:
- Dockerfile
permissions:
pull-requests: write
jobs:
hadolint:
name: Dockerfile Linting
runs-on: ubuntu-22.04
steps:
- name: Checkout Repository
uses: actions/checkout@v3
- name: Run hadolint
id: hadolint
uses: hadolint/[email protected]
- name: Update Pull Request
uses: actions/github-script@v6
if: ${{ github.event_name == 'pull_request' && !success() }}
with:
script: |
const output = `
#### Hadolint: \`${{ steps.hadolint.outcome }}\`
\`\`\`
${process.env.HADOLINT_RESULTS}
\`\`\`
`;
github.rest.issues.createComment({
issue_number: context.issue.number,
owner: context.repo.owner,
repo: context.repo.repo,
body: output
})