Skip to content

chore(deps): update python docker tag to v3.14 (#32) #26

chore(deps): update python docker tag to v3.14 (#32)

chore(deps): update python docker tag to v3.14 (#32) #26

---
# runs on each push to main and is responsible for creating new tags/releases
name: Create Semantic Release
on:
push:
branches:
- main
permissions: {}
jobs:
semantic-release:
runs-on: ubuntu-latest
permissions:
contents: write
outputs:
version: ${{ steps.semrel.outputs.version }}
steps:
- name: Checkout
uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
fetch-depth: 0
persist-credentials: false
- name: Run go-semantic-release
id: semrel
uses: go-semantic-release/action@2e9dc4247a6004f8377781bef4cb9dad273a741f # v1.24.1
with:
allow-initial-development-versions: true
github-token: ${{ secrets.GITHUB_TOKEN }}
ansible-galaxy:
needs: semantic-release
if: needs.semantic-release.outputs.version != ''
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
with:
ref: v${{ needs.semantic-release.outputs.version }}
persist-credentials: false
- name: Set version in galaxy.yml
run: |
sed -re "s/^version:.*$/version: ${NEEDS_SEMANTIC_RELEASE_OUTPUTS_VERSION}/" -i galaxy.yml
env:
NEEDS_SEMANTIC_RELEASE_OUTPUTS_VERSION: ${{ needs.semantic-release.outputs.version }}
- name: Upload collection to Ansible Galaxy
uses: ansible/ansible-publish-action@a56a0328c92c1d4feedf5bd7f7cf7ec7a4ae3f09 # v1.0.0
with:
api_key: ${{ secrets.GALAXY_API_KEY }}