Skip to content

Commit

Permalink
once more with feeling
Browse files Browse the repository at this point in the history
  • Loading branch information
Steve Scaffidi committed Oct 28, 2024
1 parent c126902 commit f3daa75
Showing 1 changed file with 12 additions and 16 deletions.
28 changes: 12 additions & 16 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,42 +3,38 @@ name: "Release"

on:
release:
types: [published]

permissions:
contents: write
packages: write

jobs:
goreleaser:
dockerLogin:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0

#- name: Set up Go
# uses: actions/setup-go@v5
# with:
# go-version: stable
- name: Login to GitHub Container Registry
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}

release:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Build and Push Docker Images
run: make docker-buildx VERSION=${{ github.event.release.tag_name }}
run: make docker-buildx GIT_TAG=${{ github.event.release.tag_name }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Build and Push OLM Bundle Image
run: make bundle-push VERSION=${{ github.event.release.tag_name }}
run: make bundle-push GIT_TAG=${{ github.event.release.tag_name }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Build and Push OLM Catalog Image
run: make catalog-push VERSION=${{ github.event.release.tag_name }}
run: make catalog-push GIT_TAG=${{ github.event.release.tag_name }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit f3daa75

Please sign in to comment.