Skip to content

Commit

Permalink
Merge pull request #109 from Segelzwerg/feature/multi-arch-docker
Browse files Browse the repository at this point in the history
feature/multi-arch-docker
  • Loading branch information
Marcel authored Nov 8, 2020
2 parents dcf7068 + 445c24a commit 54f8f85
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/dockerimage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,12 @@ on: [push]
jobs:

build:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v1
- name: Build the Docker image
run: docker build . --file Dockerfile --tag sport-tool-box:$(date +%s)
- uses: actions/checkout@v1
- name: Build AMD64
run: docker build . --file amd64.dockerfile --tag sport-tool-box:$(date +%s)
- name: Build ARM64
run: docker build . --file arm64.dockerfile --tag sport-tool-box:$(date +%s)
File renamed without changes.
9 changes: 9 additions & 0 deletions arm64.dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
FROM arm64v8/gradle

MAINTAINER Marcel Haas

WORKDIR /app
COPY ./ /app

CMD gradle run
EXPOSE 8080

0 comments on commit 54f8f85

Please sign in to comment.