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
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
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..."