Skip to content

ci: fix ansible version in runner image #3076

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

DenisMedeirosBBD
Copy link

Fix: #3005

This is an additional change probably required to fix the Ansible version in the runner image.

It seems the ANSIBLE_VERSION variable in the build task is not being considered by Dockerfile.

- name: Runner build with Ansible 2.16.5
uses: docker/build-push-action@v5
with:
builder: ${{ steps.buildx.outputs.name }}
context: .
build-args: |
ANSIBLE_VERSION=9.4.0
file: deployment/docker/runner/Dockerfile
platforms: linux/amd64,linux/arm64 #,linux/arm/v6
push: ${{ github.event_name != 'pull_request' }}
labels: ${{ steps.runner.outputs.labels }}
tags: semaphoreui/runner:${{ github.ref_name }}-ansible2.16.5

I suspect it just needs the same option the server Dockerfile has:

https://github.com/semaphoreui/semaphore/blob/develop/deployment/docker/runner/Dockerfile#L76-L77

https://github.com/semaphoreui/semaphore/blob/develop/deployment/docker/server/Dockerfile#L48-L50

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Problem: Semaphore runner does not use correct ansible version in image *--ansible2.16.5
1 participant