Skip to content

build(deps): bump crazy-max/.github/.github/actions/container-logs-check from 1.10.1 to 1.11.0 #308

build(deps): bump crazy-max/.github/.github/actions/container-logs-check from 1.10.1 to 1.11.0

build(deps): bump crazy-max/.github/.github/actions/container-logs-check from 1.10.1 to 1.11.0 #308

Workflow file for this run

name: test
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
permissions:
contents: read
on:
push:
branches:
- 'master'
pull_request:
env:
BUILD_TAG: samba:test
CONTAINER_NAME: samba
jobs:
test:
runs-on: ubuntu-latest
steps:
-
name: Checkout
uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
-
name: Set up QEMU
uses: docker/setup-qemu-action@96fe6ef7f33517b61c61be40b68a1882f3264fb8 # v4.2.0
-
name: Set up Docker Buildx
uses: docker/setup-buildx-action@bb05f3f5519dd87d3ba754cc423b652a5edd6d2c # v4.2.0
-
name: Build
uses: docker/bake-action@d3418bd7d0e9324001bca92fa8ba175ea7e6dc9b # v7.3.0
with:
source: .
targets: image-local
env:
DEFAULT_TAG: ${{ env.BUILD_TAG }}
-
name: Start
run: |
docker compose up -d
working-directory: test
env:
SAMBA_IMAGE: ${{ env.BUILD_TAG }}
SAMBA_CONTAINER: ${{ env.CONTAINER_NAME }}
-
name: Check container logs
uses: crazy-max/.github/.github/actions/container-logs-check@f91220cba053bd54299ba645a599ee8ed436f222 # v1.11.0
with:
name: ${{ env.CONTAINER_NAME }}
log_check: " started."
timeout: 20
-
name: Dump smb.conf
run: |
docker compose exec ${{ env.CONTAINER_NAME }} cat /etc/samba/smb.conf
working-directory: test
env:
SAMBA_IMAGE: ${{ env.BUILD_TAG }}
SAMBA_CONTAINER: ${{ env.CONTAINER_NAME }}
-
name: Logs
if: always()
run: |
docker compose logs
working-directory: test
env:
SAMBA_IMAGE: ${{ env.BUILD_TAG }}
SAMBA_CONTAINER: ${{ env.CONTAINER_NAME }}