Skip to content

🧪 (tests/src/cmds/core/test_ban.py): Skip test_tempban_failed_with_wr… #91

🧪 (tests/src/cmds/core/test_ban.py): Skip test_tempban_failed_with_wr…

🧪 (tests/src/cmds/core/test_ban.py): Skip test_tempban_failed_with_wr… #91

Workflow file for this run

name: Build base image
on:
push:
paths:
- Dockerfile.base
- poetry.lock
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
env:
DOCKER_IMAGE: ghcr.io/hackthebox/hackster:base
steps:
- name: Checkout repo
uses: actions/checkout@v4
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Login to ghcr.io
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build image
uses: docker/build-push-action@v5
with:
push: true
context: .
tags: ${{ env.DOCKER_IMAGE }}
file: Dockerfile.base