From 63444f712516b40547fdb3cac09ddb7e177b0f29 Mon Sep 17 00:00:00 2001 From: Pietro di Caprio Date: Sun, 18 Feb 2024 22:05:29 +0100 Subject: [PATCH] ci: push Containerfile in release branch --- .github/workflows/release.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 6495547..fa2ad70 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -34,8 +34,13 @@ jobs: - name: Commit Containerfile run: | + mv Containerfile /tmp/Containerfile git config --local user.email "action@github.com" git config --local user.name "GitHub Action" + git clean -fxd + git fetch + git checkout release + cp /tmp/Containerfile Containerfile git add Containerfile git commit -m "release: ${GITHUB_REF#refs/tags/}" git push