-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
updates docker image and script (#6)
* updates docker image and script * push images to GCR --------- Co-authored-by: andrii.kozlov <[email protected]>
- Loading branch information
1 parent
d781ea5
commit ed33bf8
Showing
3 changed files
with
14 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,13 @@ | ||
# TODO: This is a placeholder to add CI in the future | ||
orbs: | ||
ta-docker: travelaudience/[email protected] | ||
|
||
version: 2.1 | ||
jobs: | ||
build: | ||
docker: | ||
- image: circleci/node:4.8.2 # the primary container, where your job's commands are run | ||
steps: | ||
- checkout # check out the code in the project directory | ||
- run: echo "hello world" # run the `echo` command | ||
workflows: | ||
docker-push: | ||
jobs: | ||
- ta-docker/build_and_push: | ||
name: docker-cloudsql-goose | ||
context: docker-registry-access | ||
image-name: "docker-cloudsql-goose" | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
# Because we intend to use this image on CircleCi, we want to use an image with a bit more components than buster | ||
FROM golang:1.15 | ||
FROM golang:1.21 | ||
|
||
LABEL [email protected] | ||
|
||
|
@@ -11,7 +11,7 @@ RUN mkdir /proxy &&\ | |
|
||
# Fetch goose | ||
RUN export GO111MODULE=on &&\ | ||
go get -v -u github.com/pressly/goose/cmd/goose@v2.7.0-rc5 | ||
go install github.com/pressly/goose/v3/cmd/goose@v3.15.0 | ||
|
||
RUN mkdir /db | ||
WORKDIR /db | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters