Skip to content

Commit

Permalink
fix: PRs won't push to registry
Browse files Browse the repository at this point in the history
  • Loading branch information
marcoceppi authored Mar 2, 2023
1 parent bb68da7 commit 8d21213
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 100 deletions.
18 changes: 0 additions & 18 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
name: build-ublue
on:
pull_request:
types:
- labeled
branches:
- main
paths-ignore:
Expand All @@ -24,7 +22,6 @@ jobs:
push-ghcr:
name: Build and push image
runs-on: ubuntu-22.04
if: contains(github.event.pull_request.labels.*.name, 'ok-to-build') || github.event_name != 'pull_request'
permissions:
contents: read
packages: write
Expand Down Expand Up @@ -180,18 +177,3 @@ jobs:
run: |
echo "${{ toJSON(steps.push.outputs) }}"
- name: Upload Container Export
if: github.event_name == 'pull_request'
run: |
mkdir -p output
podman save -o output/image.tar ${{ steps.build_image.outputs.image }}
echo "${{ steps.build_image.outputs.image }}" >> output/image
echo "${{ steps.build_image.outputs.tags }}" >> output/tags
- name: Publish Artifact
uses: actions/upload-artifact@v3
if: github.event_name == 'pull_request'
with:
name: output
path: output

82 changes: 0 additions & 82 deletions .github/workflows/pr-publish.yml

This file was deleted.

0 comments on commit 8d21213

Please sign in to comment.