diff --git a/.github/workflows/redis-proxy.yml b/.github/workflows/redis-proxy.yml index 370a90c..6485a4f 100644 --- a/.github/workflows/redis-proxy.yml +++ b/.github/workflows/redis-proxy.yml @@ -7,14 +7,9 @@ concurrency: env: APP: moodle USER: ${{ github.actor }} - DEPLOY_ENVIRONMENT: ${{ github.ref_name }} on: workflow_call: - inputs: - DEPLOY_ENVIRONMENT: - required: true - type: string jobs: build-images: @@ -68,4 +63,4 @@ jobs: docker push ${{ secrets.ARTIFACTORY_URL }}/${{ env.GOLANG_IMAGE }} docker tag ${{ env.UBUNTU_IMAGE }} ${{ secrets.ARTIFACTORY_URL }}/${{ env.UBUNTU_IMAGE }} docker push ${{ secrets.ARTIFACTORY_URL }}/${{ env.UBUNTU_IMAGE }} - docker buildx build --build-arg DEPLOY_ENVIRONMENT=${{ env.DEPLOY_ENVIRONMENT }} --build-arg GOLANG_FROM_IMAGE=${{ secrets.ARTIFACTORY_URL }}/${{ env.GOLANG_IMAGE }} --build-arg UBUNTU_FROM_IMAGE=${{ secrets.ARTIFACTORY_URL }}/${{ env.UBUNTU_IMAGE }} --tag ${{ secrets.ARTIFACTORY_URL }}/${{ env.REDIS_PROXY_NAME }}:${{ env.OPENSHIFT_DEPLOY_PROJECT }}-${{ github.ref_name }} --output=type=image,push=true --push -f ./GoLang.Dockerfile . + docker buildx build --build-arg GOLANG_FROM_IMAGE=${{ secrets.ARTIFACTORY_URL }}/${{ env.GOLANG_IMAGE }} --build-arg UBUNTU_FROM_IMAGE=${{ secrets.ARTIFACTORY_URL }}/${{ env.UBUNTU_IMAGE }} --tag ${{ secrets.ARTIFACTORY_URL }}/${{ env.REDIS_PROXY_NAME }}:${{ env.OPENSHIFT_DEPLOY_PROJECT }}-${{ github.ref_name }} --output=type=image,push=true --push -f ./GoLang.Dockerfile .