Skip to content

Commit

Permalink
feat(amd): remove amd only builds (#114)
Browse files Browse the repository at this point in the history
  • Loading branch information
xorima authored Nov 17, 2023
1 parent 4038dda commit 0362815
Showing 1 changed file with 0 additions and 54 deletions.
54 changes: 0 additions & 54 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -98,57 +98,3 @@ jobs:
BUILD_DATE=${{ fromJSON(steps.meta.outputs.json).labels['org.opencontainers.image.created'] }}
VCS_REF=${{ fromJSON(steps.meta.outputs.json).labels['org.opencontainers.image.revision'] }}
buildx-amd64:
runs-on: ubuntu-latest
strategy:
fail-fast: false
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Set up QEMU
uses: docker/setup-qemu-action@v3

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3

- name: Docker metadata
id: meta
uses: docker/metadata-action@v5
with:
images: |
ghcr.io/test-kitchen/dokken/${{ matrix.os-without-arm64 }}
dokken/${{ matrix.os-without-arm64 }}
tags: |
type=schedule
type=ref,event=branch
type=ref,event=pr
type=semver,pattern={{version}}
type=semver,pattern={{major}}.{{minor}}
type=semver,pattern={{major}}
type=sha
type=raw,value=latest,enable={{is_default_branch}}
- name: Login to DockerHub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}

- name: Login to GitHub Container Registry
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Build and push (amd64)
uses: docker/build-push-action@v5
with:
push: true
tags: ${{ steps.meta.outputs.tags }}
platforms: linux/amd64
file: ./${{ matrix.os-without-arm64 }}/Dockerfile
build-args: |
BUILD_DATE=${{ fromJSON(steps.meta.outputs.json).labels['org.opencontainers.image.created'] }}
VCS_REF=${{ steps.git-sha.outputs.short }}

0 comments on commit 0362815

Please sign in to comment.