Skip to content

wip

wip #6

Workflow file for this run

name: Docker
# on:
# workflow_run:
# workflows: ["PyPI"]
# types:
# - completed
on:
push:
branches:
- "gardena/eb/ci"
jobs:
docker:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Set GOOSEBIT_VERSION env var
run: |
tag_=$GITHUB_REF_NAME
echo $tag_
tag=v0.1.2
echo "GOOSEBIT_VERSION=${tag#v}" >> $GITHUB_ENV
- name: Build and push Docker image
id: push
uses: docker/[email protected]
with:
context: .
build-args: GOOSEBIT_VERSION=${{ env.GOOSEBIT_VERSION }}
file: ./Dockerfile
push: false
# tags: ${{ steps.meta.outputs.tags }}
# labels: ${{ steps.meta.outputs.labels }}
# - name: Deploy website
# run: poetry run mkdocs gh-deploy