Remove unused files and return arm64 support

This commit is contained in:
Eugene Burmakin
2025-02-05 20:03:52 +01:00
parent b3cf8e50fc
commit d216632221
3 changed files with 1 additions and 67 deletions

View File

@@ -1,34 +0,0 @@
version: 2.1
jobs:
build-and-push:
docker:
- image: cimg/base:stable
steps:
- checkout
- setup_remote_docker
- run:
name: Login to DockerHub
command: |
echo "Attempting to login to DockerHub..."
echo "$DOCKERHUB_TOKEN" | sudo docker login -u "$DOCKERHUB_USERNAME" --password-stdin
- run:
name: Build and push Docker images
command: |
# Get the short SHA or use 'latest' as fallback
SHORT_SHA=${CIRCLE_SHA1:-rc1}
sudo docker buildx create --use
sudo docker buildx build \
--platform linux/amd64 \
-t freikin/dawarich:${SHORT_SHA} \
-t freikin/dawarich:rc \
-f docker/Dockerfile.dev \
--push .
workflows:
version: 2
build-and-push:
jobs:
- build-and-push:
context: dockerhub

View File

@@ -1,32 +0,0 @@
version: 2
jobs:
build-and-push:
docker:
- image: cimg/base:stable
steps:
- checkout
- setup_remote_docker
- run:
name: Login to DockerHub
command: |
echo "Attempting to login to DockerHub..."
echo "$DOCKERHUB_TOKEN" | sudo docker login -u "$DOCKERHUB_USERNAME" --password-stdin
- run:
name: Build and push Docker images
command: |
# Get the short SHA or use 'latest' as fallback
SHORT_SHA=${CIRCLE_SHA1:-rc1}
sudo docker buildx create --use
sudo docker buildx build \
--platform linux/amd64 \
-t freikin/dawarich:${SHORT_SHA} \
-t freikin/dawarich:rc \
-f docker/Dockerfile.dev \
--push .
workflows:
version: 2
build-and-push:
jobs:
- build-and-push:
context: dockerhub

View File

@@ -77,6 +77,6 @@ jobs:
file: ./docker/Dockerfile.dev
push: true
tags: ${{ steps.docker_meta.outputs.tags }}
platforms: linux/amd64,linux/arm/v7,linux/arm/v6
platforms: linux/amd64,linux/arm/v7,linux/arm/v6,linux/arm64
cache-from: type=local,src=/tmp/.buildx-cache
cache-to: type=local,dest=/tmp/.buildx-cache