Skip to content

Commit

Permalink
add: fix docker image platforms
Browse files Browse the repository at this point in the history
  • Loading branch information
kochetkov-ma committed Jul 1, 2024
1 parent 96475f3 commit 4723ef2
Show file tree
Hide file tree
Showing 7 changed files with 10 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ max_line_length = 200
[*.java]
max_line_length = 180

[*.yml}]
[*.yml]
indent_size = 2

[*.yaml]
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
uses: actions/setup-java@v4
with:
java-version: '21'
distribution: 'temurin'
distribution: 'corretto'
- name: Use Node.js ${{ env.NODE_VERSION }}
uses: actions/setup-node@v4
with:
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
uses: actions/setup-java@v4
with:
java-version: '21'
distribution: 'temurin'
distribution: 'corretto'
- name: Use Node.js ${{ env.NODE_VERSION }}
uses: actions/setup-node@v4
with:
Expand All @@ -43,6 +43,7 @@ jobs:
RELEASE_VERSION: ${{ env.RELEASE_VERSION }}
ACTIONS_ALLOW_UNSECURE_COMMANDS: 'true'
with:
platforms: linux/amd64,linux/arm64
name: kochetkovma/allure-server
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
Expand Down
2 changes: 1 addition & 1 deletion .helm/allure-server/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ image:
repository: kochetkovma/allure-server
pullPolicy: IfNotPresent
## Don't use 'latest' ;)
tag: 2.12.0
tag: 2.13.4

## Add 'key: value collection' and delete '{ }' if need
## Uncomment and remove '{ }' if need
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM openjdk:21-slim
FROM amazoncorretto:21-alpine
COPY build/libs/*.jar /allure-server-docker.jar
# Set port
EXPOSE ${PORT:-8080}
Expand Down
4 changes: 2 additions & 2 deletions docker-compose-h2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@ services:
allure-server:
# For local debug #
# build: .
image: kochetkovma/allure-server:2.12.0
image: kochetkovma/allure-server:2.13.5
ports:
- 8080:8080
volumes:
- ./tmp/allure:/allure/:rw
environment:
SPRING_PROFILES_ACTIVE: oauth
# BASIC_AUTH_ENABLE: true
# BASIC_AUTH_ENABLE: true
4 changes: 2 additions & 2 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ services:
allure-server:
# For local debug #
# build: .
image: kochetkovma/allure-server:2.12.0
image: kochetkovma/allure-server:2.13.5
environment:
SPRING_DATASOURCE_URL: jdbc:postgresql://postgres:5432/allure
SPRING_DATASOURCE_USERNAME: postgres
Expand All @@ -26,4 +26,4 @@ services:
POSTGRES_USER: postgres
POSTGRES_DB: allure
ports:
- 5432:5432
- 5432:5432

0 comments on commit 4723ef2

Please sign in to comment.