Skip to content

Commit

Permalink
oras
Browse files Browse the repository at this point in the history
  • Loading branch information
fwilhe committed Sep 17, 2024
1 parent f33c32e commit 5d5b142
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/ingest-snapshot.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@ jobs:
- name: Check out repository code
uses: actions/checkout@v4

- uses: oras-project/setup-oras@v1

- name: Ingest Data
run: /usr/local/src/ingest-postgres.sh

Expand All @@ -49,6 +51,12 @@ jobs:
run: |
pg_dump --schema-only -h postgres -p 5432 -U glvd glvd > glvd-schema.sql
- run: oras login -u ${{ github.actor }} -p ${{ secrets.GITHUB_TOKEN }} ghcr.io

- run: oras push ghcr.io/gardenlinux/glvd-db-snapshot:latest glvd.sql

- run: oras logout ghcr.io

- uses: actions/upload-artifact@v4
with:
name: glvd.sql
Expand Down

0 comments on commit 5d5b142

Please sign in to comment.