From 080d46c1ed359da0c02c79add5100182b34d4550 Mon Sep 17 00:00:00 2001 From: Martin Buchleitner Date: Tue, 12 Mar 2024 11:43:21 +0100 Subject: [PATCH] fix: update flow (#9) * fix: update flow Signed-off-by: Martin Buchleitner * fix: clean build containers and dockerfile Signed-off-by: Martin Buchleitner --------- Signed-off-by: Martin Buchleitner --- .github/workflows/ci.yml | 12 ++++++------ Dockerfile | 3 +-- 2 files changed, 7 insertions(+), 8 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index aa13966..d47be40 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -33,8 +33,8 @@ jobs: build: strategy: matrix: - baseimage: [ standalone-chrome, standalone-firefox, standalone-opera, standalone-edge] - baseversion: [ 4 ] + baseimage: [ standalone-chrome, standalone-firefox ] + baseversion: [ 4.18 ] runs-on: ubuntu-latest needs: [ prebuild ] steps: @@ -87,14 +87,14 @@ jobs: - name: Login to DockerHub if: needs.prebuild.outputs.version != '' - uses: docker/login-action@v1 + uses: docker/login-action@v3 with: username: ${{ secrets.DOCKERHUB_USER }} password: ${{ secrets.DOCKERHUB_TOKEN }} - name: Login to Quay if: needs.prebuild.outputs.version != '' - uses: docker/login-action@v1 + uses: docker/login-action@v3 with: registry: quay.io username: ${{ secrets.QUAY_USER }} @@ -102,7 +102,7 @@ jobs: - name: Login to GitHub Container Registry if: needs.prebuild.outputs.version != '' - uses: docker/login-action@v1 + uses: docker/login-action@v3 with: registry: ghcr.io username: ${{ github.repository_owner }} @@ -110,7 +110,7 @@ jobs: - name: Build and push id: docker_build - uses: docker/build-push-action@v3 + uses: docker/build-push-action@v5 with: builder: ${{ steps.buildx.outputs.name }} context: . diff --git a/Dockerfile b/Dockerfile index c473c52..f936bfe 100644 --- a/Dockerfile +++ b/Dockerfile @@ -7,8 +7,7 @@ USER root # hadolint ignore=DL3013,DL3008 RUN apt-get update -q \ - && apt-get install --no-install-recommends -y python3-pip \ - && pip3 install --no-cache-dir virtualenv behave \ + && apt-get install --no-install-recommends -y python3-pip python3-poetry python3-behave python3-virtualenv \ && apt-get clean \ && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*