Skip to content

Commit

Permalink
ci: bump ansible version & change gh release action (#16)
Browse files Browse the repository at this point in the history
Co-authored-by: hntt <>
  • Loading branch information
Thomah authored Jul 3, 2023
1 parent c96c47d commit f059a75
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name: Build Docker

env:
ANSIBLE_VERSION: 6.6.0-r0
ANSIBLE_VERSION: 7.5.0-r0

on:
push:
Expand Down Expand Up @@ -47,17 +47,16 @@ jobs:
- name: Create Release
id: create_release
if: github.ref == 'refs/heads/main'
uses: actions/create-release@latest
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
uses: ncipollo/release-action@v1
with:
tag_name: 1.0.${{ github.run_number }}-ansible-${{ env.ANSIBLE_VERSION }}
release_name: Release v1.0.${{ github.run_number }}
tag: 1.0.${{ github.run_number }}-ansible-${{ env.ANSIBLE_VERSION }}
name: Release v1.0.${{ github.run_number }}
body: |
Image v1.0.${{ github.run_number }}
Ansible Version : ${{ env.ANSIBLE_VERSION }}
draft: false
prerelease: false
token: ${{ secrets.GITHUB_TOKEN }}

- name: Push docker image release
id: push_docker_release
Expand Down

0 comments on commit f059a75

Please sign in to comment.