Skip to content

Commit

Permalink
Merge pull request #24 from planetscale/docker/planetscale-git-image
Browse files Browse the repository at this point in the history
  • Loading branch information
joemiller authored Jul 26, 2023
2 parents dbd4842 + a6c9727 commit 9eaa3a6
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
9 changes: 7 additions & 2 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,12 @@ name: ci
on:
push:
branches:
- "*"
- main
pull_request:
types:
- opened
- reopened
- synchronize

permissions:
# these perms needed for goreleaser to publish releases and docker images (https://goreleaser.com/ci/actions/#token-permissions):
Expand All @@ -13,7 +18,6 @@ permissions:
jobs:
test:
runs-on: ubuntu-latest
if: github.event_name == 'push' && !contains(toJson(github.event.commits), '[ci skip]') && !contains(toJson(github.event.commits), '[skip ci]')
steps:
- uses: actions/checkout@v3

Expand All @@ -33,6 +37,7 @@ jobs:

- run: make lint
- run: make test
- run: make snapshot

release:
needs: [test]
Expand Down
3 changes: 1 addition & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
# syntax=docker/dockerfile:1.4
# cgr.dev/chainguard/git:2.41.0:
FROM cgr.dev/chainguard/git@sha256:549b8c78695131d41018e12e1c21107322227fd0669126f4bf13d00bf64cac6c
FROM us-docker.pkg.dev/planetscale-registry/wolfi-public/git:2.41.0

COPY ghcommit /ghcommit

Expand Down

0 comments on commit 9eaa3a6

Please sign in to comment.