feat read classes.yaml from dir volume #28
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: publish docker CD | |
env: | |
DOCKERREPO: seblum/octivbooker | |
TAG: latest | |
on: | |
push: | |
branches: master | |
tags: v[12].[0-9]+.[0-9]+ | |
pull_request: | |
branches: [ master ] | |
workflow_dispatch: | |
jobs: | |
docker: | |
runs-on: ubuntu-latest | |
steps: | |
- | |
name: Set up QEMU | |
uses: docker/setup-qemu-action@v2 | |
- | |
name: Set up Docker Buildx | |
uses: docker/setup-buildx-action@v2 | |
# - | |
# name: Bump python package versions | |
# if: github.event_name == 'pull_request' | |
# uses: ./.github/actions/bump-py-package-versions | |
# with: | |
# ci_bot_email: ${{ vars.CI_BOT_EMAIL }} | |
# ci_bot_name: ${{ vars.CI_BOT_NAME }} | |
# directory: ${{ matrix.directory }} | |
- | |
name: Login to DockerHub | |
uses: docker/login-action@v2 | |
with: | |
username: ${{ secrets.DOCKERHUB_USERNAME }} | |
password: ${{ secrets.DOCKERHUB_TOKEN }} | |
- | |
name: Build and push | |
uses: docker/build-push-action@v3 | |
with: | |
file: ./slotBooker/poetry.Dockerfile | |
push: true | |
tags: ${{ env.DOCKERREPO }}:${{ env.TAG }} | |
# context: . |