Skip to content

Commit

Permalink
chore: use base openintegration image
Browse files Browse the repository at this point in the history
  • Loading branch information
olegsu committed Oct 15, 2021
1 parent 09f21f0 commit dbff3b2
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 12 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,16 +14,16 @@ jobs:
password: ${{ secrets.DOCKERHUB_PASSWORD }}
runs-on: ubuntu-latest
steps:
-
name: Login to Docker Registry
- name: Login to Docker Registry
run: |
echo "${{ secrets.DOCKERHUB_PASSWORD }}" | \
docker login -u "${{ secrets.DOCKERHUB_USERNAME }}" --password-stdin
-
name: Checkout
- name: Checkout
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Build Base Image
run: docker build -t openintegration/oi:base .
- run: make release-binaries
env:
GITHUB_TOKEN: ${{ secrets.GT_RELEASE_TOKEN }}
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.100.0
0.101.0
8 changes: 1 addition & 7 deletions catalog/shared/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,15 +1,9 @@
FROM golang:1.16-alpine as build

WORKDIR /app

RUN apk update && apk add make wget git
FROM openintegration/oi:base as build

ARG SERVICE

COPY . .

RUN go mod download

RUN go build -o service cmd/catalog/${SERVICE}/main.go

FROM alpine
Expand Down

0 comments on commit dbff3b2

Please sign in to comment.