Skip to content

Commit

Permalink
feat: Update file system
Browse files Browse the repository at this point in the history
  • Loading branch information
dinushchathurya committed Jul 9, 2023
1 parent 1374d42 commit 40ee000
Showing 1 changed file with 2 additions and 16 deletions.
18 changes: 2 additions & 16 deletions .github/workflows/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,23 +31,9 @@ jobs:
- name: Execute Gradle unit test
run: ./gradlew test
- name: Build docker image
run: |
docker login -u ${{ secrets.DOCKER_USERNAME }} -p ${{ secrets.DOCKER_PASSWORD }} index.docker.io/v1
./gradlew --no-daemon jibDockerBuild
# - name: push docker image
# run: ./gradlew --no-daemon jib -Pjib.to.image=docker.io/limarktest/sampleweb:${{ github.sha }} -Pjib.to.auth.username=$DOCKER_USERNAME -Pjib.to.auth.password=$DOCKER_PASSWORD -Pjib.to.auth.registry=index.docker.io/v1
# - name: Login to Docker registry
# run: docker login -u ${{ secrets.DOCKER_USERNAME }} -p ${{ secrets.DOCKER_PASSWORD }} index.docker.io/v1
run: ./gradlew --no-daemon jibDockerBuild
- name: Execute Gradle dockerPush
run: |
docker login -u ${{ secrets.DOCKER_USERNAME }} -p ${{ secrets.DOCKER_PASSWORD }} index.docker.io/v1
echo "${{ secrets.PAT_TOKEN }}" | docker login -u ${{ secrets.DOCKER_USERNAME }} -p ${{ secrets.DOCKER_PASSWORD }} index.docker.io/v1
./gradlew --no-daemon dockerPush
# - name: Login to Docker Hub
# uses: docker/login-action@v2
# with:
# username: ${{ secrets.DOCKER_USERNAME }}
# password: ${{ secrets.DOCKER_PASSWORD }}
# - name: Push docker image
# run: ./gradlew --no-daemon dockerPush --debug

0 comments on commit 40ee000

Please sign in to comment.