1
0
mirror of https://github.com/containous/traefik.git synced 2025-11-12 16:23:54 +03:00

Fix release by using github action

This commit is contained in:
Michael
2024-12-06 16:56:06 +01:00
committed by GitHub
parent 2df655cefe
commit 42df9afeaf
8 changed files with 210 additions and 122 deletions

View File

@@ -1,7 +1,7 @@
#!/usr/bin/env bash
set -e
if [ -n "${SEMAPHORE_GIT_TAG_NAME}" ]; then
if [ -n "${VERSION}" ]; then
echo "Deploying..."
else
echo "Skipping deploy"
@@ -13,8 +13,8 @@ git config --global user.name "Traefiker"
# load ssh key
eval "$(ssh-agent -s)"
chmod 600 /home/semaphore/.ssh/traefiker_rsa
ssh-add /home/semaphore/.ssh/traefiker_rsa
chmod 600 ~/.ssh/traefiker_rsa
ssh-add ~/.ssh/traefiker_rsa
# update traefik-library-image repo (official Docker image)
echo "Updating traefik-library-imag repo..."