Skip to content

Commit

Permalink
Merge branch 'main' into dev
Browse files Browse the repository at this point in the history
  • Loading branch information
brown-a2 committed Jun 14, 2024
2 parents 61341e3 + de7f23e commit 87fb07d
Showing 1 changed file with 14 additions and 2 deletions.
16 changes: 14 additions & 2 deletions .github/workflows/rw-build-image.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,13 @@ jobs:
- name: Build and Push Nginx Image
run: |
docker buildx create --use
docker buildx build --cache-from=type=local,src=/tmp/.buildx-cache-nginx --cache-to=type=local,dest=/tmp/.buildx-cache-nginx --pull --push --tag $REGISTRY/$REPOSITORY:hale-platform_nginx-$IMAGE_TAG --file nginx.dockerfile .
docker buildx build \
--cache-from=type=local,src=/tmp/.buildx-cache-nginx \
--cache-to=type=local,dest=/tmp/.buildx-cache-nginx \
--pull \
--push \
--tag $REGISTRY/$REPOSITORY:hale-platform_nginx-$IMAGE_TAG \
--file nginx.dockerfile .
env:
REGISTRY: ${{ steps.login-ecr.outputs.registry }}
REPOSITORY: ${{ secrets.ecr-repo }}
Expand Down Expand Up @@ -155,7 +161,13 @@ jobs:
- name: Build and Push WordPress Image
run: |
docker buildx create --use
docker buildx build --cache-from=type=local,src=/tmp/.buildx-cache-wordpress --cache-to=type=local,dest=/tmp/.buildx-cache-wordpress --pull --push --tag $REGISTRY/$REPOSITORY:hale-platform_wordpress-$IMAGE_TAG --file wordpress.dockerfile .
docker buildx build \
--cache-from=type=local,src=/tmp/.buildx-cache-wordpress \
--cache-to=type=local,dest=/tmp/.buildx-cache-wordpress \
--pull \
--push \
--tag $REGISTRY/$REPOSITORY:hale-platform_wordpress-$IMAGE_TAG \
--file wordpress.dockerfile .
env:
REGISTRY: ${{ steps.login-ecr.outputs.registry }}
REPOSITORY: ${{ secrets.ecr-repo }}
Expand Down

0 comments on commit 87fb07d

Please sign in to comment.