Skip to content

Commit

Permalink
Switch to gitlab hosted base image (Swift 5.5)
Browse files Browse the repository at this point in the history
  • Loading branch information
finestructure committed Aug 17, 2021
1 parent d76231b commit 0250714
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 37 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
name: Test
runs-on: ubuntu-latest
container:
image: finestructure/spi-base:0.5.2
image: registry.gitlab.com/finestructure/spi-base:0.6.0
services:
postgres:
image: postgres:11.6-alpine
Expand Down
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
# ================================
# Build image
# ================================
FROM finestructure/spi-base:0.5.2 as build
FROM registry.gitlab.com/finestructure/spi-base:0.6.0 as build
WORKDIR /build

# First just resolve dependencies.
Expand All @@ -38,7 +38,7 @@ RUN swift build \
# Run image
# ================================
# we need a special base image so that we can run `swift dump-package`
FROM finestructure/spi-base:0.5.2
FROM registry.gitlab.com/finestructure/spi-base:0.6.0

WORKDIR /run

Expand Down
33 changes: 0 additions & 33 deletions Dockerfile.base

This file was deleted.

3 changes: 2 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,8 @@ docker-push:

test-docker:
@# run tests inside a docker container
docker run --rm -v "$(PWD)":/host -w /host --network="host" finestructure/spi-base:0.5.2 \
docker run --rm -v "$(PWD)":/host -w /host --network="host" \
registry.gitlab.com/finestructure/spi-base:0.6.0 \
make test

test-e2e: db-reset reconcile ingest analyze
Expand Down

0 comments on commit 0250714

Please sign in to comment.