feat: add support for building and pushing OCI configuration #7
Workflow file for this run
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
on: | |
# TODO: Change to main merges | |
pull_request: | |
name: OCI | |
jobs: | |
push: | |
name: Push | |
runs-on: ubuntu-latest | |
container: | |
image: fluxcd/flux-cli:v2.0.1 | |
options: --user root | |
steps: | |
- name: Check out sources | |
uses: actions/checkout@v3 | |
with: | |
ref: ${{ github.event.pull_request.head.sha }} | |
fetch-depth: 0 | |
- name: Install dependencies | |
run: apk --no-cache add docker git make | |
- name: Build and push OCI artifacts | |
run: make push-all |