Skip to content

Commit

Permalink
Merge pull request #24 from st-tech/add-release-ci
Browse files Browse the repository at this point in the history
Fix release CI
  • Loading branch information
yokawasa authored Dec 24, 2021
2 parents 3672245 + e7eff57 commit cf777f1
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,8 +69,6 @@ jobs:
with:
go-version: '1.16'

- run: go version

- name: Login to GitHub Container Registry
uses: docker/login-action@v1
with:
Expand All @@ -89,15 +87,14 @@ jobs:
env:
VERSION: ${{ steps.get_version.outputs.VERSION }}
run: |
make manifests-release
IMAGE_ID=$REGISTRY/$IMAGE_NAME
make manifests-release IMG=$IMAGE_ID:$VERSION
- name: Publish images to the registry
env:
VERSION: ${{ steps.get_version.outputs.VERSION }}
run: |
IMAGE_ID=$REGISTRY/$IMAGE_NAME
# Convert uppercase to lowercase
IMAGE_ID=$(echo $IMAGE_ID | tr '[A-Z]' '[a-z]')
echo IMAGE_ID=$IMAGE_ID
echo VERSION=$VERSION
make docker-push IMG=$IMAGE_ID:$VERSION
Expand Down

0 comments on commit cf777f1

Please sign in to comment.