Skip to content

Commit

Permalink
Merge pull request #16 from golemfoundation/michal/pr-debugging
Browse files Browse the repository at this point in the history
CAQD-326: CI fixes
  • Loading branch information
mike-code authored Feb 21, 2024
2 parents 34dc9f8 + 678a1b4 commit c293ee8
Show file tree
Hide file tree
Showing 6 changed files with 24 additions and 7 deletions.
17 changes: 15 additions & 2 deletions .github/workflows/tpl-images.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,17 +31,30 @@ jobs:
# account
# see: https://github.com/actions/checkout/issues/211
path: __local
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Login to Docker registry
uses: docker/login-action@v3
with:
registry: europe-docker.pkg.dev
username: _json_key_base64
password: ${{ secrets.GCP_DOCKER_IMAGES_REGISTRY_SERVICE_ACCOUNT }}

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
with:
buildkitd-flags: --debug
driver: docker
config-inline: |
debug = true
insecure-entitlements = [ "network.host", "security.insecure" ]
[registry."local-docker-registry.wildland.dev:80"]
http = true
insecure = true
- name: Build and push
uses: docker/build-push-action@v5
with:
allow: network.host,security.insecure
context: __local/${{ matrix.SERVICE }}
file: __local/ci/Dockerfile.${{ matrix.SERVICE }}
push: true
Expand Down
2 changes: 1 addition & 1 deletion ci/Dockerfile.backend
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM local-docker-registry.wildland.dev/acidrain/python-poetry:3.11-slim-1.5.1
FROM local-docker-registry.wildland.dev:80/acidrain/python-poetry:3.11-slim-1.5.1

WORKDIR /app

Expand Down
3 changes: 2 additions & 1 deletion ci/Dockerfile.client
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
FROM local-docker-registry.wildland.dev/library/node:16-alpine
FROM local-docker-registry.wildland.dev:80/library/node:16-alpine

WORKDIR /app
COPY package.json yarn.lock ./
RUN yarn install --ignore-scripts --frozen-lockfile && yarn cache clean
Expand Down
3 changes: 2 additions & 1 deletion ci/Dockerfile.coin-prices-server
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
FROM local-docker-registry.wildland.dev/library/node:16-alpine AS root
FROM local-docker-registry.wildland.dev:80/library/node:16-alpine AS root

WORKDIR /app
COPY package.json yarn.lock ./

Expand Down
3 changes: 2 additions & 1 deletion ci/Dockerfile.contracts-v1
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
FROM local-docker-registry.wildland.dev/library/node:16-alpine AS root
FROM local-docker-registry.wildland.dev:80/library/node:16-alpine AS root

WORKDIR /app

FROM root AS build
Expand Down
3 changes: 2 additions & 1 deletion ci/Dockerfile.subgraph
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
FROM local-docker-registry.wildland.dev/library/node:16-alpine AS root
FROM local-docker-registry.wildland.dev:80/library/node:16-alpine AS root

WORKDIR /app

FROM root AS build
Expand Down

0 comments on commit c293ee8

Please sign in to comment.