Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 25 additions & 0 deletions .github/workflows/build-and-push-docker.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Build and Push Docker Image

on: [pull_request]

jobs:
build-and-push-docker:
runs-on: ubuntu-latest
steps:
- name: Login to Docker Hub
uses: docker/login-action@v3
with:
username: mattpolzin2
password: ${{ secrets.DOCKERHUB_TOKEN }}
- uses: actions/checkout@v5
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Build & Push
run: |
docker buildx build \
-t mattpolzin2/api-test-server:${{ github.sha }} \
--platform linux/amd64,linux/arm64 \
--push \
.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,4 @@ xcuserdata
*.xcodeproj
DerivedData/
.DS_Store
harmony.json