Skip to content

build(deps): bump github.com/open-policy-agent/opa from 0.69.0 to 1.1… #48

build(deps): bump github.com/open-policy-agent/opa from 0.69.0 to 1.1…

build(deps): bump github.com/open-policy-agent/opa from 0.69.0 to 1.1… #48

Workflow file for this run

name: Push Tagged Container
on:
push:
tags:
- v*.*.*
jobs:
unit-test:
runs-on: ubuntu-latest
steps:
- name: setup go
uses: actions/setup-go@v5
with:
go-version: 1.23.x
- name: checkout
uses: actions/checkout@v4
- name: unit test
run: make test
- name: test build
run: make build
container-image:
runs-on: ubuntu-latest
needs: [unit-test]
steps:
- name: checkout
uses: actions/checkout@v4
- name: get version tag
run: echo TAG_NAME=$(echo ${GITHUB_REF} | rev | cut -d"/" -f1 | rev) >> $GITHUB_ENV
- name: docker login
run: echo "${{ secrets.GITHUB_TOKEN }}" | docker login ghcr.io -u ${{ github.actor }} --password-stdin
- name: docker build
run: >-
docker buildx create --name builder &&
docker buildx use --builder builder &&
make dockerx-build version=${TAG_NAME}