Skip to content

Commit

Permalink
Upadated circleci
Browse files Browse the repository at this point in the history
  • Loading branch information
robrotheram committed Aug 24, 2022
1 parent 42f596b commit 0516a77
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM ubuntu:latest
FROM ubuntu:20.04
RUN apt-get update; apt-get install -y libvips && rm -rf /var/lib/apt/lists/*
RUN mkdir /app
# Copy the current directory contents into the container at /app
Expand Down
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,8 @@ package:
build-linux:
cd server && CGO_ENABLED=0 GOOS=linux GOARCH=amd64 $(GOBUILD) -o $(BINARY_UNIX) -v
docker:
docker build . -t robrotheram/gogallery:$(CIRCLE_BRANCH)
docker build . -t robrotheram/gogallery:latest
DOCKER_BUILDKIT=1 docker build . -t robrotheram/gogallery:$(CIRCLE_BRANCH)
DOCKER_BUILDKIT=1 docker build . -t robrotheram/gogallery:latest
docker-publish:
docker push robrotheram/gogallery:$(CIRCLE_BRANCH)
docker push robrotheram/gogallery:latest

0 comments on commit 0516a77

Please sign in to comment.