Skip to content

Bump github.com/lestrrat-go/jwx/v2 from 2.1.1 to 2.1.2 #25

Bump github.com/lestrrat-go/jwx/v2 from 2.1.1 to 2.1.2

Bump github.com/lestrrat-go/jwx/v2 from 2.1.1 to 2.1.2 #25

Workflow file for this run

name: Build & Push
on:
push:
tags:
- "*"
pull_request:
types: [opened, synchronize]
permissions:
contents: read
packages: write
jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: 1.22
- name: Build
run: go build -v ./...
env:
CGO_ENABLED: 0
- name: Test
run: go test -v ./...
- name: Log in to registry
if: github.event_name == 'push'
run: echo "${{ secrets.GITHUB_TOKEN }}" | docker login ghcr.io -u $ --password-stdin
- name: Build image
if: github.event_name == 'push'
run: docker build . -t ghcr.io/tipee-sa/iap-token-validator:$(echo "${{ github.ref }}" | cut -d/ -f3-)
- name: Push image
if: github.event_name == 'push'
run: docker push ghcr.io/tipee-sa/iap-token-validator:$(echo "${{ github.ref }}" | cut -d/ -f3-)