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

Add cmd history-exporter #8

Merged
merged 21 commits into from
Oct 22, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
21 commits
Select commit Hold shift + click to select a range
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
10 changes: 3 additions & 7 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,6 @@ on:
permissions:
contents: read

env:
IMAGE_NAME: gh-workflow-stats-action

jobs:
docker:
runs-on: ubuntu-latest
Expand All @@ -24,8 +21,7 @@ jobs:
id: meta
uses: docker/metadata-action@v5
with:
images:
${{ vars.DOCKERHUB_USERNAME }}/${{ env.IMAGE_NAME }}
images: neondatabase/gh-workflow-stats-action
tags: |
# branch event
type=ref,enable=true,priority=600,prefix=,suffix=,event=branch
Expand All @@ -42,8 +38,8 @@ jobs:
- name: Login to Docker Hub
uses: docker/login-action@v3
with:
username: ${{ vars.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
username: ${{ secrets.NEON_DOCKERHUB_USERNAME }}
password: ${{ secrets.NEON_DOCKERHUB_PASSWORD }}

- name: Build and publish
uses: docker/build-push-action@v6
Expand Down
1 change: 1 addition & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ WORKDIR /build
COPY go.mod go.sum ./
RUN go mod download

COPY pkg/ pkg/
COPY cmd/gh-action/ ./

ENV CGO_ENABLED=0
Expand Down
2 changes: 1 addition & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ inputs:

runs:
using: docker
image: "docker://yatheo/gh-workflow-stats-action:v0.1.4"
image: "docker://neondatabase/gh-workflow-stats-action:v0.1.4"
env:
DB_URI: ${{ inputs.db_uri }}
DB_TABLE: ${{ inputs.db_table }}
Expand Down
74 changes: 0 additions & 74 deletions cmd/gh-action/config.go

This file was deleted.

177 changes: 0 additions & 177 deletions cmd/gh-action/db.go

This file was deleted.

88 changes: 0 additions & 88 deletions cmd/gh-action/gh.go

This file was deleted.

Loading