Skip to content

Commit

Permalink
ci: build before publish
Browse files Browse the repository at this point in the history
  • Loading branch information
parisk committed Nov 19, 2024
1 parent 024a0c4 commit a3e6999
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ on: push
jobs:
publish:
runs-on: ubuntu-latest
env:
COMPOSE_EXPERIMENTAL_OCI_REMOTE: "1"
steps:
- uses: actions/checkout@v4
- uses: docker/setup-buildx-action@v3
Expand All @@ -11,6 +13,7 @@ jobs:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}
- run: docker compose build --push
- run: docker compose alpha publish ghcr.io/withlogicco/postgres

config:
Expand Down

0 comments on commit a3e6999

Please sign in to comment.