Skip to content

Commit

Permalink
Move go.mod to root
Browse files Browse the repository at this point in the history
Signed-off-by: Rick Lane <[email protected]>
  • Loading branch information
rick-a-lane-ii committed Mar 6, 2024
1 parent 9bf645a commit 8bbed9e
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 7 deletions.
8 changes: 3 additions & 5 deletions .github/workflows/github-runner-provisioner.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
- uses: actions/checkout@v4
- uses: actions/setup-go@v4
with:
go-version: '1.22'
go-version-file: go.mod
- name: Run tests
run: |
cd github-runner-provisioner
Expand All @@ -44,8 +44,7 @@ jobs:
- name: Build for Test
uses: docker/build-push-action@v5
with:
context: "{{defaultContext}}:github-runner-provisioner"
file: dockerfile
file: "github-runner-provisioner/Dockerfile"
platforms: linux/amd64
push: false
tags: |
Expand Down Expand Up @@ -117,8 +116,7 @@ jobs:
- name: Build and push
uses: docker/build-push-action@v5
with:
context: "{{defaultContext}}:github-runner-provisioner"
file: ./dockerfile
file: "github-runner-provisioner/Dockerfile"
platforms: linux/amd64
push: true
tags: |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ RUN go mod download

COPY . .

RUN CGO_ENABLED=0 GOOS=linux go build -a -installsuffix cgo -o main .
RUN CGO_ENABLED=0 GOOS=linux go build -a -installsuffix cgo -o main ./github-runner-provisioner

FROM ubuntu:22.04

Expand Down
2 changes: 1 addition & 1 deletion github-runner-provisioner/go.mod → go.mod
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module github.com/datawire/infra-actions/github-runner-provisioner
module github.com/datawire/infra-actions

go 1.22

Expand Down
File renamed without changes.

0 comments on commit 8bbed9e

Please sign in to comment.