Skip to content

Docker 👀

Docker 👀 #1

Workflow file for this run

name: docker
on:
push:
jobs:
docker:
runs-on: ubuntu-latest
steps:
- name: Checkout code.
uses: actions/checkout@v3
- name: Set up JDK 11
uses: actions/setup-java@v3
with:
java-version: "11"
distribution: "temurin"
cache: maven
- name: Compile the code.
run: mvn clean package
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Login to GitHub Container Registry
uses: docker/login-action@v1
with:
registry: ghcr.io
username: ${{github.actor}}
password: ${{secrets.GITHUB_TOKEN}}
- name: Build & Push image
run: docker buildx build --platform=linux/amd64,linux/arm64/v8,linux/ppc64le,linux/s390x --tag ghcr.io/casterlabs/dbohttp:latest --push .