Skip to content

Commit b221dfd

Browse files
committed
I wish GA was a better CI/CD platform
1 parent 6e6940c commit b221dfd

File tree

3 files changed

+4
-94
lines changed

3 files changed

+4
-94
lines changed

.github/workflows/docker-image.yml

Lines changed: 3 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -59,22 +59,12 @@ jobs:
5959
${{ env.IMAGE_NAME }}
6060
${{ env.REGISTRY }}/${{ github.repository }}
6161
62-
- name: Build and push Docker image (amd64)
62+
- name: Build and push Docker image
6363
uses: docker/build-push-action@v6
6464
with:
6565
context: .
6666
file: ./Dockerfile
67-
platforms: linux/amd64
67+
platforms: linux/amd64,linux/arm64
6868
push: ${{ github.event_name != 'pull_request' }}
69-
tags: ${{ steps.meta.outputs.tags }}-amd64
70-
labels: ${{ steps.meta.outputs.labels }}
71-
72-
- name: Build and push Docker image (arm64)
73-
uses: docker/build-push-action@v6
74-
with:
75-
context: .
76-
file: ./Dockerfile
77-
platforms: linux/arm64
78-
push: ${{ github.event_name != 'pull_request' }}
79-
tags: ${{ steps.meta.outputs.tags }}-arm64
69+
tags: ${{ steps.meta.outputs.tags }}
8070
labels: ${{ steps.meta.outputs.labels }}

.github/workflows/main.yml

Lines changed: 0 additions & 80 deletions
This file was deleted.

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ COPY --from=backend-builder /usr/src/app/migrations /app/migrations
5757
# Copy static files
5858
COPY --from=backend-builder /usr/src/app/static /app/static
5959

60-
# Expose the port (this is just documentation)
60+
# Expose the port
6161
EXPOSE 8080
6262

6363
# Set default network configuration

0 commit comments

Comments
 (0)