Skip to content

Bump crazy-max/ghaction-github-labeler from 5.3.0 to 6.0.0 #181

Bump crazy-max/ghaction-github-labeler from 5.3.0 to 6.0.0

Bump crazy-max/ghaction-github-labeler from 5.3.0 to 6.0.0 #181

Workflow file for this run

name: test
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
permissions:
contents: read
on:
push:
branches:
- 'master'
paths-ignore:
- '**.md'
pull_request:
paths-ignore:
- '**.md'
env:
BUILD_TAG: pure-ftpd:test
CONTAINER_NAME: pure-ftpd
jobs:
test:
runs-on: ubuntu-latest
steps:
-
name: Checkout
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
-
name: Set up QEMU
uses: docker/setup-qemu-action@c7c53464625b32c7a7e944ae62b3e17d2b600130 # v3.7.0
-
name: Set up Docker Buildx
uses: docker/setup-buildx-action@8d2750c68a42422c14e847fe6c8ac0403b4cbd6f # v3.12.0
-
name: Build
uses: docker/bake-action@82490499d2e5613fcead7e128237ef0b0ea210f7 # v7.0.0
with:
source: .
targets: image-local
env:
DEFAULT_TAG: ${{ env.BUILD_TAG }}
-
name: Start
run: |
docker compose up -d
working-directory: test
env:
PUREFTPD_IMAGE: ${{ env.BUILD_TAG }}
PUREFTPD_CONTAINER: ${{ env.CONTAINER_NAME }}
-
name: Check container logs
uses: crazy-max/.github/.github/actions/container-logs-check@bbd31df64ee0f097a02f12495f541f9236f18c46 # v1.2.0
with:
container_name: ${{ env.CONTAINER_NAME }}
log_check: "[services.d] done"
timeout: 120
-
name: Logs
if: always()
run: |
docker compose logs
working-directory: test
env:
PUREFTPD_IMAGE: ${{ env.BUILD_TAG }}
PUREFTPD_CONTAINER: ${{ env.CONTAINER_NAME }}