From 63b183cc6ff21468ff9bc7efe752287a062f5b5b Mon Sep 17 00:00:00 2001 From: Thomas Kaul <4159106+dtslvr@users.noreply.github.com> Date: Sun, 28 Aug 2022 09:10:18 +0200 Subject: [PATCH] Feature/finalize GitHub action to create arm64 docker image (#1197) * Change order and refactor secrets * Update changelog --- .github/workflows/docker-image.yml | 4 ++-- CHANGELOG.md | 1 + prisma/schema.prisma | 2 +- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.github/workflows/docker-image.yml b/.github/workflows/docker-image.yml index d9b5780a0..7c2e12f97 100644 --- a/.github/workflows/docker-image.yml +++ b/.github/workflows/docker-image.yml @@ -34,8 +34,8 @@ jobs: if: github.event_name != 'pull_request' uses: docker/login-action@v2 with: - username: ${{ secrets.DOCKER_USERNAME }} - password: ${{ secrets.DOCKER_PASSWORD }} + username: ${{ secrets.DOCKER_HUB_USERNAME }} + password: ${{ secrets.DOCKER_HUB_ACCESS_TOKEN }} - name: Build and push uses: docker/build-push-action@v3 diff --git a/CHANGELOG.md b/CHANGELOG.md index 183ead51b..2976af15e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -11,6 +11,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Added the alias to the `Access` database schema - Added support for translated time distances +- Added a _GitHub Action_ to create an `arm64` docker image ### Changed diff --git a/prisma/schema.prisma b/prisma/schema.prisma index 0ee858b43..ad4d163c6 100644 --- a/prisma/schema.prisma +++ b/prisma/schema.prisma @@ -1,7 +1,7 @@ generator client { provider = "prisma-client-js" previewFeatures = [] - binaryTargets = ["linux-arm64-openssl-1.1.x", "debian-openssl-1.1.x", "native"] + binaryTargets = ["debian-openssl-1.1.x", "linux-arm64-openssl-1.1.x", "native"] } datasource db {