Skip to content

Commit

Permalink
yuki test
Browse files Browse the repository at this point in the history
  • Loading branch information
YukiAbyss committed Jul 26, 2024
1 parent aa4cb7a commit 5ecf536
Showing 1 changed file with 3 additions and 8 deletions.
11 changes: 3 additions & 8 deletions .github/workflows/docker-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,7 @@ jobs:

- name: Build image
run: |
docker build -t "${IMAGE_NAME}:server-distroless" .
docker build -t "${IMAGE_NAME}:syncer-distroless" .
docker build -t "${IMAGE_NAME}:server-monitor" .
- name: Login to GHCR
uses: docker/login-action@v2
Expand All @@ -39,10 +37,7 @@ jobs:
# Strip "v" prefix from tag name
[[ "${{ github.ref }}" == "refs/tags/"* ]] && VERSION=$(echo $VERSION | sed -e 's/^v//')
# Use Docker `latest` tag convention
[ "$VERSION" == "master" ] && VERSION=latest
echo IMAGE_NAME=$IMAGE_NAME
echo VERSION=$VERSION
docker tag ${IMAGE_NAME}:server-distroless $IMAGE_NAME:$VERSION-server-distroless
docker tag ${IMAGE_NAME}:syncer-distroless $IMAGE_NAME:$VERSION-syncer-distroless
docker push $IMAGE_NAME:$VERSION-server-distroless
docker push $IMAGE_NAME:$VERSION-syncer-distroless
docker tag ${IMAGE_NAME}:server-monitor $IMAGE_NAME:$VERSION-server-monitor
docker push $IMAGE_NAME:$VERSION-server-monitor

0 comments on commit 5ecf536

Please sign in to comment.