Skip to content

Avoid creating numerous volumes during test execution (#22) #32

Avoid creating numerous volumes during test execution (#22)

Avoid creating numerous volumes during test execution (#22) #32

Workflow file for this run

name: publish
on:
push:
branches:
- master
schedule:
- cron: "0 0 * * 1"
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}
jobs:
build-test-publish:
if: ${{ github.event_name != 'schedule' || github.repository == 'FirebirdSQL/firebird-docker' }}
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 10
- name: Install tools
shell: pwsh
run: |
Install-Module InvokeBuild -Force
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
- name: Build
shell: pwsh
run: |
Invoke-Build
- name: Test
shell: pwsh
run: |
Invoke-Build Test
- name: Login to Docker Hub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Publish
shell: pwsh
run: |
Invoke-Build Publish
- name: Log out from Docker Hub
run: |
docker logout