Skip to content
This repository has been archived by the owner on Feb 19, 2024. It is now read-only.

Bump actions/setup-python from 4 to 5 (#70) #132

Bump actions/setup-python from 4 to 5 (#70)

Bump actions/setup-python from 4 to 5 (#70) #132

Workflow file for this run

---
name: Build (DigitalOcean)
on:
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: '3.x'
- 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: 2022.12.1
DIGITALOCEAN_TOKEN: ${{ secrets.DIGITALOCEAN_TOKEN }}