Skip to content

#16 sops download and add to path #15

#16 sops download and add to path

#16 sops download and add to path #15

Workflow file for this run

name: Publish Image
on:
pull_request:
branches:
- main
release:
types: [published]
env:
REGISTRY: ghcr.io
jobs:
build-and-push-image:
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Log into ghcr
uses: docker/[email protected]
if: github.event_name == 'release'
with:
registry: ${{ env.REGISTRY }}
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build the image
run: make build
- name: Publish the image
if: github.event_name == 'release'
run: make publish
env:
TAG: ${{ github.ref_name }}