Skip to content

Commit

Permalink
adding apple chip base image
Browse files Browse the repository at this point in the history
  • Loading branch information
Robert Murdock authored and Robert Murdock committed Jul 7, 2023
1 parent 429d534 commit 56d328f
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 6 deletions.
18 changes: 13 additions & 5 deletions .github/workflows/build-docker-base.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,20 +5,28 @@ on:
- cron: "0 14 * * *"
workflow_dispatch:
jobs:
update-gradle-wrapper:
build-docker-base:
runs-on: ubuntu-latest
name: "Build Base Images"
steps:
- uses: actions/checkout@v3
with:
fetch-depth: '25'
- name: Set up QEMU
uses: docker/setup-qemu-action@v1
- name: Set up Docker Buildx
id: buildx
uses: docker/setup-buildx-action@v1
- name: Log in to the Container registry
uses: docker/login-action@v1
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Setup Gradle
uses: gradle/gradle-build-action@v2
- name: Server Base - Build and push
uses: docker/build-push-action@v2
with:
cache-read-only: ${{ github.ref != 'refs/heads/master' }}
- run: ./gradlew :server:base:buildImage :server:base:pushImage --configuration-cache
context: server/base
platforms: linux/amd64,linux/arm64
push: true
tags: ghcr.io/robertfmurdock/coupling-serverless-base:latest
1 change: 0 additions & 1 deletion .idea/gradle.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 56d328f

Please sign in to comment.