mirror of
https://github.com/Freika/dawarich.git
synced 2026-01-11 01:31:39 -05:00
Remove unused files and return arm64 support
This commit is contained in:
parent
b3cf8e50fc
commit
d216632221
3 changed files with 1 additions and 67 deletions
|
|
@ -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
|
|
||||||
|
|
@ -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
|
|
||||||
2
.github/workflows/build_and_push.yml
vendored
2
.github/workflows/build_and_push.yml
vendored
|
|
@ -77,6 +77,6 @@ jobs:
|
||||||
file: ./docker/Dockerfile.dev
|
file: ./docker/Dockerfile.dev
|
||||||
push: true
|
push: true
|
||||||
tags: ${{ steps.docker_meta.outputs.tags }}
|
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-from: type=local,src=/tmp/.buildx-cache
|
||||||
cache-to: type=local,dest=/tmp/.buildx-cache
|
cache-to: type=local,dest=/tmp/.buildx-cache
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue