Fixing action

This commit is contained in:
David Négrier 2020-04-13 15:45:35 +02:00
parent 0ba6941cd2
commit efccdcbb06
2 changed files with 1 additions and 2 deletions

View File

@ -67,4 +67,4 @@ jobs:
env:
KUBE_CONFIG_FILE: ${{ secrets.KUBE_CONFIG_FILE }}
with:
namespace: workadventure-${{GITHUB_REF_SLUG}}
namespace: workadventure-${{ env.GITHUB_REF_SLUG }}

View File

@ -1,6 +1,5 @@
{
local env = std.extVar("env"),
# FIXME: namespace does not work if the branch contains a "/"
local namespace = env.GITHUB_REF_SLUG,
local tag = if namespace == "master" then "latest" else namespace,
"$schema": "https://raw.githubusercontent.com/thecodingmachine/deeployer/master/deeployer.schema.json",