From eb5f7e313f31e7837901bdbe9da09eef873f4d4d Mon Sep 17 00:00:00 2001 From: Joao M Date: Sun, 21 Aug 2022 00:40:08 +0000 Subject: [PATCH] Fix build --- .github/workflows/build.yml | 4 ++-- .../docker-compose-portainer-app-example.yml | 17 ----------------- examples/docker/docker-compose-portainer.yml | 2 +- 3 files changed, 3 insertions(+), 20 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 1a84174..5ee00c1 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -66,9 +66,9 @@ jobs: id: tags with: script: | - tags = "${{ join(steps.meta.outputs.tags, ',') }}" + tags = `${{ join(steps.meta.outputs.tags, ',') }}` result = [] - tags.split(",").forEach(function (item) { + tags.split("\n").forEach(function (item) { short_tag = item.trim().split(":")[1]; if (short_tag != "latest") { result.push(short_tag); diff --git a/examples/docker/docker-compose-portainer-app-example.yml b/examples/docker/docker-compose-portainer-app-example.yml index 8db4c69..70f6290 100644 --- a/examples/docker/docker-compose-portainer-app-example.yml +++ b/examples/docker/docker-compose-portainer-app-example.yml @@ -1,20 +1,3 @@ -# To test: -# curl -k -H "Host: host1.local" https://127.0.0.1/ -# curl -k -H "Host: host2.local" https://127.0.0.1/ -# -# curl -I -H Host:host1.local http://127.0.0.1 -# HTTP/1.1 301 Moved Permanently -# content-length: 0 -# location: https://host1.local/ -# -# curl -I -H Host:host2.local http://127.0.0.1 -# HTTP/1.1 301 Moved Permanently -# content-length: 0 -# location: https://host1.local/ -# -# Test SSL: -# openssl s_client -showcerts -connect 127.0.0.1:443 --servername host1.local - version: "3" services: diff --git a/examples/docker/docker-compose-portainer.yml b/examples/docker/docker-compose-portainer.yml index 83a7b5c..ec9fd3a 100644 --- a/examples/docker/docker-compose-portainer.yml +++ b/examples/docker/docker-compose-portainer.yml @@ -8,7 +8,7 @@ version: "3" services: easyhaproxy: - image: byjg/easy-haproxy:master + image: byjg/easy-haproxy volumes: - /var/run/docker.sock:/var/run/docker.sock - certs_letsencrypt:/certs/letsencrypt