Skip to content

Commit

Permalink
chore: Add docker build CI
Browse files Browse the repository at this point in the history
  • Loading branch information
bflad committed Jan 9, 2025
1 parent a29da0a commit 335fd00
Showing 1 changed file with 11 additions and 5 deletions.
16 changes: 11 additions & 5 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,15 +20,21 @@ jobs:
id-token: "write"
actions: "read"
steps:
- name: Set up Go 1.x
uses: actions/setup-go@v3
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- uses: actions/setup-go@3041bf56c941b39c61721a86cd11f3bb1338122a # v5.2.0
with:
go-version: ^1.21
go-version-file: "go.mod"
- name: Configure git for private modules
env:
GIT_AUTH_TOKEN: ${{ secrets.BOT_REPO_TOKEN }}
run: git config --global url."https://speakeasybot:${GIT_AUTH_TOKEN}@github.com".insteadOf "https://github.com"
- name: Check out code
uses: actions/checkout@v3
- name: Test
run: go test -v ./...
docker-build:
name: Docker Build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- uses: docker/build-push-action@b32b51a8eda65d6793cd0494a773d4f6bcef32dc # v6.11.0
with:
push: false

0 comments on commit 335fd00

Please sign in to comment.