Skip to content

Commit

Permalink
build: sync common files from github_organization_management repository
Browse files Browse the repository at this point in the history
  • Loading branch information
metworkbot committed Oct 21, 2022
1 parent f2826f5 commit 78d4333
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/docker_build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ else
fi
HASH_AFTER=`docker images -q $TAG_BRANCH`
if [ "${HASH_BEFORE}" == "${HASH_AFTER}" ]; then
echo '::set-output name=dispatch_bypass::true'
echo 'dispatch_bypass=true' >> $GITHUB_OUTPUT
else
echo '::set-output name=dispatch_bypass::false'
echo 'dispatch_bypass=false' >> $GITHUB_OUTPUT
docker push $TAG_BRANCH
if [ "$BRANCH" == "master" ]; then
docker push $TAG_LATEST
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/set_variables.sh
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ if test "${BRANCH}" = "master"; then
fi


echo "::set-output name=branch::${BRANCH}"
echo "::set-output name=os::${OS_VERSION}"
echo "::set-output name=tag_branch::${TAG_BRANCH}"
echo "::set-output name=tag_latest::${TAG_LATEST}"
echo 'branch=${BRANCH}' >> $GITHUB_OUTPUT
echo 'os=${OS_VERSION}' >> $GITHUB_OUTPUT
echo 'tag_branch=${TAG_BRANCH}' >> $GITHUB_OUTPUT
echo 'tag_latest=${TAG_LATEST}' >> $GITHUB_OUTPUT

0 comments on commit 78d4333

Please sign in to comment.