Skip to content

Bump nghttp2 and its dependencies #860

Bump nghttp2 and its dependencies

Bump nghttp2 and its dependencies #860

Workflow file for this run

name: build
on:
push:
branches:
- '**'
tags:
- v[0-9]+.[0-9]+.[0-9]+
pull_request:
jobs:
build:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v5
with:
go-version: '1.22'
- uses: golangci/golangci-lint-action@v6
- name: Build
run: |
make vet check controller
- name: Resolve image properties
uses: actions/github-script@v7
id: imageprops
with:
script: |
core.setOutput('push', '${{ github.ref_type }}' == 'tag' || '${{ github.ref_name }}' == 'main')
core.setOutput('tag', '${{ github.ref_type }}' == 'tag' ? '${{ github.ref_name }}' : 'latest')
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Login to GitHub Container Registry
uses: docker/login-action@v3
if: steps.imageprops.outputs.push == 'true'
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build container image
uses: docker/build-push-action@v6
with:
context: .
push: ${{ steps.imageprops.outputs.push == 'true' }}
tags: ghcr.io/zlabjp/nghttpx-ingress-controller:${{ steps.imageprops.outputs.tag }}
provenance: false