Skip to content

Commit

Permalink
Cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
VOID404 committed Sep 11, 2024
1 parent 081967a commit 19e3d0a
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 40 deletions.
40 changes: 0 additions & 40 deletions .github/workflows/gha-summarizer.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,46 +10,6 @@ env:
image: ghcr.io/${{ github.repository }}/gha-summarizer

jobs:
build:
permissions:
contents: read
packages: write
runs-on: ubuntu-latest
outputs:
imageid: ${{ steps.docker_metadata.outputs.imageid }}
steps:
- name: Checkout
uses: actions/checkout@v4
with:
ref: ${{ github.event.pull_request.head.ref }}
repository: ${{ github.event.pull_request.head.repo.full_name }}

- name: Set up Docker metadata
id: docker_metadata
uses: docker/metadata-action@v5
with:
images: ${{ env.image }}
tags: |
type=ref,event=branch
type=ref,event=pr
type=ref,event=tag
type=sha
- name: Login to GitHub Container Registry
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Build and push Docker image
uses: docker/build-push-action@v6
with:
push: ${{ github.event_name != 'pull_request_target' }}
tags: ${{ steps.docker_metadata.outputs.tags }}
labels: ${{ steps.docker_metadata.outputs.labels }}
token: ${{ github.token }}

test:
permissions:
contents: read
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
# GHA Summarizer

0 comments on commit 19e3d0a

Please sign in to comment.