Skip to content

Initial commit

Initial commit #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 21
uses: actions/setup-java@v3
with:
java-version: "21"
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 Inventory Image
run: |
docker build . --tag ghcr.io/casterlabs/tcp-proxy:latest
docker push ghcr.io/casterlabs/tcp-proxy:latest