Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(workflows): Several fixes to streamline release process #1725

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/buildenvs.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
name: buildenvs

on:
push:
branches: [stable]
release:
types: [released]
pull_request:
types: [opened, synchronize, reopened]
branches: [staging]
Expand Down
74 changes: 0 additions & 74 deletions .github/workflows/chore-tag-stable-weekly.yaml

This file was deleted.

8 changes: 2 additions & 6 deletions .github/workflows/myself-full.yaml
Original file line number Diff line number Diff line change
@@ -1,12 +1,8 @@
name: buildenvs/myself-full

# Build only on changes to the build environment itself
on:
push:
branches: [stable]
paths:
- 'buildenvs/myself.Dockerfile'
- '.github/workflows/myself-full.yaml'
release:
types: [released]

jobs:
myself-full-push:
Expand Down
56 changes: 0 additions & 56 deletions .github/workflows/myself.yaml

This file was deleted.

3 changes: 1 addition & 2 deletions .github/workflows/notarization.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
name: mac-notarization

on:
release:
types: [released]
workflow_dispatch:

jobs:
notarization:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release-stable.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,8 @@ jobs:
- name: Run GoReleaser
run: |
GORELEASER_PREVIOUS_TAG=$(curl -s "https://get.kraftkit.sh/latest.txt")
GORELEASER_PREVIOUS_TAG="v$GORELEASER_PREVIOUS_TAG"
export GORELEASER_PREVIOUS_TAG
export GORELEASER_PREVIOUS_TAG="v$GORELEASER_PREVIOUS_TAG"
export GORELEASER_CURRENT_TAG="${{ github.ref_name }}"
echo "$GOOGLE_APPLICATION_JSON" > /tmp/gs.json
goreleaser release \
--config goreleaser-stable.yaml \
Expand Down
11 changes: 7 additions & 4 deletions .github/workflows/tools-webinstall.yaml
Original file line number Diff line number Diff line change
@@ -1,10 +1,8 @@
name: tools/webinstall

on:
push:
branches: [stable]
paths:
- 'tools/webinstall/**'
release:
types: [released]

jobs:
myself-push:
Expand All @@ -20,6 +18,11 @@ jobs:
username: ${{github.actor}}
password: ${{secrets.GITHUB_TOKEN}}

- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 1

- name: Build & Push OCI Image
uses: docker/build-push-action@v6
with:
Expand Down
Loading