Skip to content

Commit

Permalink
chore(cd-build-push-deploy): rollback and use ubuntu-latest
Browse files Browse the repository at this point in the history
  • Loading branch information
guesant committed Nov 5, 2024
1 parent 1b82342 commit c5098ff
Showing 1 changed file with 6 additions and 16 deletions.
22 changes: 6 additions & 16 deletions .github/workflows/cd-build-push-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ env:

jobs:
build-and-push:
runs-on: builder-self-hosted
runs-on: ubuntu-latest

steps:
- name: Set up Docker Buildx
Expand All @@ -58,33 +58,23 @@ jobs:
with:
target: api-service
tags: ${{ env.REGISTRY_URL }}/${{ env.IMAGE_NAME_SERVICE }}:${{ env.IMAGE_TAG }}

build-args: GIT_COMMIT_HASH=${{ github.sha }}

push: ${{ env.ENABLE_PUSH_IMAGE == 'true' }}

platforms: linux/amd64
# load: true
outputs: type=docker
# outputs: type=cacheonly
# provenance: true

outputs: type=cacheonly
provenance: true

- name: Build and push @ladesa-ro/api-client-fetch-docs
if: ${{ env.ENABLE_BUILD_IMAGE == 'true' }}
uses: docker/build-push-action@v6
with:
target: npm-api-client-fetch-docs
tags: ${{ env.REGISTRY_URL }}/${{ env.IMAGE_NAME_DOCS_NPM_API_CLIENT_FETCH }}:${{ env.IMAGE_TAG }}

build-args: GIT_COMMIT_HASH=${{ github.sha }}

push: ${{ env.ENABLE_PUSH_IMAGE == 'true' }}

platforms: linux/amd64
# load: true
outputs: type=docker
# outputs: type=cacheonly
# provenance: true
outputs: type=cacheonly
provenance: true

deploy:
runs-on: ubuntu-latest
Expand Down

0 comments on commit c5098ff

Please sign in to comment.