Skip to content

Commit

Permalink
add builder
Browse files Browse the repository at this point in the history
  • Loading branch information
alexandredevely authored Nov 28, 2024
1 parent e54cb13 commit 6729a2e
Showing 1 changed file with 18 additions and 1 deletion.
19 changes: 18 additions & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ jobs:
- name: Build and push builder image
uses: docker/build-push-action@v5
with:
file: Dockerfile
file: Dockerfile.builder
context: .
platforms: linux/amd64
push: true
Expand All @@ -54,5 +54,22 @@ jobs:
BASE_IMAGE=ubuntu
BRANCH=${{ env.branch }}
NODE_MAJOR=${{ env.node_version }}
tags: |
abcdesktopio/oc.nginx.builder:${{ env.imagetag }}
- name: Build and push oc.nginx image
uses: docker/build-push-action@v5
with:
file: Dockerfile
context: .
platforms: linux/amd64
push: true
build-args: |
BASE_IMAGE_RELEASE=${{ env.imagetag }}
BASE_IMAGE=abcdesktopio/oc.nginx.builder
BRANCH=${{ env.branch }}
TARGET=dev
NODE_MAJOR=${{ env.node_version }}
tags: |
abcdesktopio/oc.nginx:${{ env.imagetag }}

0 comments on commit 6729a2e

Please sign in to comment.