Skip to content

Commit

Permalink
fix: update flow (#9)
Browse files Browse the repository at this point in the history
* fix: update flow

Signed-off-by: Martin Buchleitner <[email protected]>

* fix: clean build containers and dockerfile

Signed-off-by: Martin Buchleitner <[email protected]>

---------

Signed-off-by: Martin Buchleitner <[email protected]>
  • Loading branch information
mabunixda authored Mar 12, 2024
1 parent 37877fa commit 080d46c
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 8 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -87,30 +87,30 @@ 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 }}
password: ${{ secrets.QUAY_TOKEN }}

- 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 }}
password: ${{ secrets.BOT_ACCESS_TOKEN }}

- 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: .
Expand Down
3 changes: 1 addition & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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/*

Expand Down

0 comments on commit 080d46c

Please sign in to comment.