1
0
Fork 0

Fix build

This commit is contained in:
Joao M 2022-08-21 00:40:08 +00:00
parent af03325bd2
commit eb5f7e313f
3 changed files with 3 additions and 20 deletions

View file

@ -66,9 +66,9 @@ jobs:
id: tags id: tags
with: with:
script: | script: |
tags = "${{ join(steps.meta.outputs.tags, ',') }}" tags = `${{ join(steps.meta.outputs.tags, ',') }}`
result = [] result = []
tags.split(",").forEach(function (item) { tags.split("\n").forEach(function (item) {
short_tag = item.trim().split(":")[1]; short_tag = item.trim().split(":")[1];
if (short_tag != "latest") { if (short_tag != "latest") {
result.push(short_tag); result.push(short_tag);

View file

@ -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" version: "3"
services: services:

View file

@ -8,7 +8,7 @@ version: "3"
services: services:
easyhaproxy: easyhaproxy:
image: byjg/easy-haproxy:master image: byjg/easy-haproxy
volumes: volumes:
- /var/run/docker.sock:/var/run/docker.sock - /var/run/docker.sock:/var/run/docker.sock
- certs_letsencrypt:/certs/letsencrypt - certs_letsencrypt:/certs/letsencrypt