I fd up
This commit is contained in:
parent
d2d1318d91
commit
a94fa888a7
@ -1,7 +1,7 @@
|
|||||||
# syntax=docker/dockerfile:1.2
|
# syntax=docker/dockerfile:1.2
|
||||||
FROM python:3.11
|
FROM python:3.11
|
||||||
|
|
||||||
RUN pip3 install --upgrade pip
|
RUN pip3 install --upgrade ansible-core
|
||||||
|
|
||||||
COPY entrypoint.sh /entrypoint.sh
|
COPY entrypoint.sh /entrypoint.sh
|
||||||
|
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
#! /bin/sh
|
#! /bin/sh
|
||||||
set -e
|
set -e
|
||||||
command_string="/usr/local/bin/ansible-galaxy role import"
|
command_string="ansible-galaxy role import"
|
||||||
|
|
||||||
if [ -n "${GALAXY_API_TOKEN}" ]; then
|
if [ -n "${GALAXY_API_TOKEN}" ]; then
|
||||||
command_string="$command_string --api-key ${GALAXY_API_TOKEN} ${GITHUB_REPOSITORY%/*} ${GITHUB_REPOSITORY#*/}"
|
command_string="$command_string --api-key ${GALAXY_API_TOKEN} ${GITHUB_REPOSITORY%/*} ${GITHUB_REPOSITORY#*/}"
|
||||||
|
Loading…
Reference in New Issue
Block a user