Skip to content

Commit

Permalink
🐋 Updated buildx platforms to fix the build error
Browse files Browse the repository at this point in the history
- removed labels from images like those are automatically generated during the build process

+ added .env in the image as it serves as the defaults
  • Loading branch information
-ˏˋ Maple ˊˎ committed Aug 15, 2023
1 parent 2a6fb29 commit 17344a2
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 8 deletions.
1 change: 0 additions & 1 deletion .dockerignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
node_modules
.env
.env.dev
README.md
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ jobs:
with:
context: .
file: ./dockerfile
platforms: linux/amd64,linux/arm64,linux/arm/v7,linux/arm/v6
platforms: linux/amd64,linux/arm64,linux/armhf,linux/i386
push: true
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
6 changes: 0 additions & 6 deletions dockerfile
Original file line number Diff line number Diff line change
@@ -1,11 +1,5 @@
FROM node:latest

LABEL org.opencontainers.image.title="Open Discord Translator"
LABEL org.opencontainers.image.description="A Discord bot that translates messages."
LABEL org.opencontainers.image.name="open-discord-translator"
LABEL org.opencontainers.image.authors="Kalitsune <[email protected]>"
LABEL org.opencontainers.image.source="https://github.com/Kalitsune/open-discord-translator"

WORKDIR /app

COPY . .
Expand Down

0 comments on commit 17344a2

Please sign in to comment.