Skip to content

Commit

Permalink
Merge pull request #4 from EdwinBetanc0urt/feature/update-gh-actions
Browse files Browse the repository at this point in the history
feat: Update `GitHub` actions.
  • Loading branch information
yamelsenih authored Dec 9, 2024
2 parents 64e5871 + c81132d commit b7194ca
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# This workflow will build a Java project with Gradle
# This file was contributed by [email protected] from ERP Consultores y Asociados, C.A
# This file was contributed by [email protected] https://github.com/EdwinBetanc0urt
# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-gradle
# Add support to default build

Expand All @@ -24,6 +25,7 @@ on:
- bugfix/**
- hotfix/**
- feature/**
- test/**
paths-ignore:
- README.md
- README.es.md
Expand All @@ -46,7 +48,7 @@ jobs:
architecture: x64

- name: Build with Gradle
uses: gradle/gradle-build-action@v3
uses: gradle/actions/setup-gradle@v3
env:
ORG_GRADLE_PROJECT_deployUsername: ${{ secrets.DEPLOY_USER }}
ORG_GRADLE_PROJECT_deployToken: ${{ secrets.DEPLOY_TOKEN }}
Expand Down
7 changes: 4 additions & 3 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# This workflow will build a Java project with Gradle
# This file was contributed by [email protected] from ERP Consultores y Asociados, C.A
# This file was contributed by [email protected] https://github.com/EdwinBetanc0urt
# For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-gradle

name: Publish Project
Expand Down Expand Up @@ -160,13 +161,13 @@ jobs:
run: |
unzip adempiere-processors-service.zip -d docker/
- name: Login to GitHub Container Registry
uses: docker/login-action@v2
uses: docker/login-action@v3
with:
# CONFIGURE DOCKER SECRETS INTO REPOSITORY
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_TOKEN }}
- name: Push alpine image in Docker Hub
uses: docker/build-push-action@v2
uses: docker/build-push-action@v6
with:
context: .
file: docker/Dockerfile.alpine
Expand Down Expand Up @@ -200,7 +201,7 @@ jobs:
uses: docker/setup-qemu-action@v3

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
uses: docker/setup-buildx-action@v3

- name: Login to GitHub Container Registry
uses: docker/login-action@v3
Expand Down

0 comments on commit b7194ca

Please sign in to comment.