Upgrade DO appliance to 2025.2 #141
Workflow file for this run
This file contains hidden or 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: Build (DigitalOcean) | |
| on: | |
| pull_request: | |
| branches: | |
| - main | |
| push: | |
| branches: | |
| - main | |
| jobs: | |
| packer-digitalocean: | |
| runs-on: ubuntu-latest | |
| name: packer-digitalocean | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-python@v5 | |
| with: | |
| python-version-file: "pyproject.toml" | |
| - name: Install ansible | |
| env: | |
| DO_API_TOKEN: ${{ secrets.DIGITALOCEAN_TOKEN }} | |
| run: | | |
| pip install poetry | |
| poetry install | |
| ./vendor/ansible-wrapper.sh --version | |
| ./vendor/ansible-wrapper.sh vendor/digitalocean/pre-build.yaml | |
| - name: Install ansible roles | |
| run: | | |
| poetry run ansible-galaxy install -p ./roles -r requirements.yml --verbose | |
| - uses: hashicorp/setup-packer@main | |
| with: | |
| version: "latest" | |
| - run: packer init . | |
| - run: packer validate -syntax-only . | |
| - run: packer build -color=false -force . | |
| env: | |
| AUTHENTIK_VERSION: 2025.2.0 | |
| DIGITALOCEAN_TOKEN: ${{ secrets.DIGITALOCEAN_TOKEN }} |