This repository has been archived by the owner on Feb 19, 2024. It is now read-only.
Bump ansible from 9.1.0 to 9.2.0 (#72) #134
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: 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 }} |