diff --git a/Dockerfile b/Dockerfile index 0d4bede..3f7913f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,7 +1,7 @@ # syntax=docker/dockerfile:1.2 FROM python:3.11 -RUN pip3 install --upgrade pip +RUN pip3 install --upgrade ansible-core COPY entrypoint.sh /entrypoint.sh diff --git a/entrypoint.sh b/entrypoint.sh index f11f129..cea82e4 100644 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -1,6 +1,6 @@ #! /bin/sh set -e -command_string="/usr/local/bin/ansible-galaxy role import" +command_string="ansible-galaxy role import" if [ -n "${GALAXY_API_TOKEN}" ]; then command_string="$command_string --api-key ${GALAXY_API_TOKEN} ${GITHUB_REPOSITORY%/*} ${GITHUB_REPOSITORY#*/}"