Skip to content

Commit

Permalink
modifications to ci
Browse files Browse the repository at this point in the history
  • Loading branch information
bloodcloak committed Mar 27, 2024
1 parent 38b9a91 commit e5b78ba
Showing 1 changed file with 6 additions and 7 deletions.
13 changes: 6 additions & 7 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,11 @@ jobs:
VERSION=${GITHUB_REF#refs/tags/v}
fi
echo ::set-output name=git_repo::${GIT_REPO}
echo ::set-output name=docker_user::${DOCKER_USER}
echo ::set-output name=docker_image::${DOCKER_IMAGE}
echo ::set-output name=version::${VERSION}
echo "git_repo=${GIT_REPO}" >> $GITHUB_OUTPUT
echo "docker_user=${DOCKER_USER}" >> $GITHUB_OUTPUT
echo "docker_image=${DOCKER_IMAGE}" >> $GITHUB_OUTPUT
echo "version=${VERSION}" >> $GITHUB_OUTPUT
- name: Setup Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Login to Docker Registry
Expand All @@ -44,6 +45,4 @@ jobs:
${{ steps.prepare.outputs.docker_image }}:${{ steps.prepare.outputs.version }}
build-args: |
GIT_VERSION=${{ steps.prepare.outputs.version }}
GIT_REPO=${{ steps.prepare.outputs.git_repo }}
cache-from: type=gha
cache-to: type=gha,mode=max
GIT_REPO=${{ steps.prepare.outputs.git_repo }}

0 comments on commit e5b78ba

Please sign in to comment.