Skip to content

Commit

Permalink
Update deps (#19)
Browse files Browse the repository at this point in the history
  • Loading branch information
sobolevn committed Sep 5, 2023
1 parent 8a88a55 commit 7511585
Show file tree
Hide file tree
Showing 5 changed files with 130 additions and 250 deletions.
16 changes: 12 additions & 4 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,19 @@ on:
pull_request:
workflow_dispatch:

concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true

permissions:
contents: read

jobs:
build:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

# Build docker:
- name: Build named dockerfile
Expand All @@ -21,9 +28,9 @@ jobs:
- name: Test docker build
run: |
docker run \
-v $PWD/test/sh:/build/test.sh \
-v $PWD/test.sh:/build/test.sh \
--rm wemake-services/wemake-dind:latest \
sh /build/test.sh
bash /build/test.sh
deploy:
if: "github.event_name == 'push' && github.repository == 'wemake-services/wemake-dind'"
Expand All @@ -33,7 +40,7 @@ jobs:

steps:
- name: Check out the repo
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Log in to Docker Hub
uses: docker/login-action@v2
Expand All @@ -47,6 +54,7 @@ jobs:
with:
images: wemakeservices/wemake-dind
flavor: latest=true
tags: type=match,pattern=\d.\d.\d

- name: Build and push Docker image
uses: docker/build-push-action@v4
Expand Down
4 changes: 4 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@ FROM docker:24.0
LABEL maintainer="sobolevn@wemake.services"
LABEL vendor="wemake.services"

ENV PIP_NO_CACHE_DIR=1 \
PIP_DISABLE_PIP_VERSION_CHECK=1 \
PIP_DEFAULT_TIMEOUT=100

# Installing system deps:
RUN apk update && apk upgrade \
&& apk add --no-cache \
Expand Down
1 change: 0 additions & 1 deletion requirements.in
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,4 @@

dump-env
docker-image-size-limit
docker-compose
wheel
Loading

0 comments on commit 7511585

Please sign in to comment.