Skip to content

Commit

Permalink
arm64
Browse files Browse the repository at this point in the history
  • Loading branch information
nbittich committed Feb 26, 2024
1 parent 3487662 commit 8843ee0
Show file tree
Hide file tree
Showing 3 changed files with 32 additions and 160 deletions.
53 changes: 0 additions & 53 deletions .github/maven-settings.xml

This file was deleted.

107 changes: 0 additions & 107 deletions .github/workflows/build.yml

This file was deleted.

32 changes: 32 additions & 0 deletions .github/workflows/latest.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: ci

on:
push:
branches:
- "main"

jobs:
docker:
runs-on: ubuntu-latest
env:
ARTEMIS_VERSION: 2.32.0
KEYCLOAK_VERSION: 23.0.5
ARTCODED_VERSION: latest
steps:
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Login to DockerHub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
- name: Build and push Docker image
run: |
cd artemis-docker
bash prepare-docker.sh --from-release --artemis-version $ARTEMIS_VERSION
cd ./_TMP_/artemis/$ARTEMIS_VERSION
docker buildx build --platform linux/amd64,linux/arm64 --build-arg KEYCLOAK_VERSION=${KEYCLOAK_VERSION} -f ./docker/Dockerfile-openjdk-21 -t nbittich/artemis:v$ARTCODED_VERSION . docker push username/repository:tag
docker tag nbittich/artemis:v$ARTCODED_VERSION nbittich/artemis:v$ARTCODED_VERSION
docker push nbittich/artemis:v$ARTCODED_VERSION

0 comments on commit 8843ee0

Please sign in to comment.