Skip to content

Commit

Permalink
Update main.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
reganmaharjan authored Apr 12, 2024
1 parent 59d024e commit 4311157
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,7 @@ jobs:
strategy:
fail-fast: false
matrix:
arch: [amd64, arm64]
# arch: [amd64, arm, arm64]
arch: [arm64]

steps:
- name: Login to Docker
Expand All @@ -40,11 +39,8 @@ jobs:
repo="rayheyehygun/epaath"
dest="$repo:${{ matrix.arch }}"
date="$(date +%Y%m%d%H%M)"
arch="${{ matrix.arch }}"
docker run --rm --privileged multiarch/qemu-user-static --reset -p yes
docker build --platform linux/$arch -t $dest --build-arg BASE=$base ./
# docker build -t $dest --build-arg BASE=$base ./
echo 0
docker build -t $dest --build-arg BASE=$base ./
# docker tag $dest ghcr.io/$dest
docker tag $dest docker.io/$dest
echo 1 $dest
Expand Down

0 comments on commit 4311157

Please # to comment.