Cleaning up a ton of shit #164
Workflow file for this run
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: Docker Image CI | |
on: | |
pull_request: | |
branches: [ main ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: docker/setup-buildx-action@v3 | |
- id: version | |
run: | | |
python -m venv ./venv | |
./venv/bin/pip install dunamai | |
echo "APP_VERSION=$(dunamai from git --style pep440)" >> $GITHUB_OUTPUT | |
- uses: docker/build-push-action@v6 | |
with: | |
context: . | |
push: false | |
tags: ci | |
build-args: | | |
APP_VERSION=${{ steps.version.outputs.APP_VERSION }} |