Skip to content

Commit

Permalink
Update circle ci config
Browse files Browse the repository at this point in the history
  • Loading branch information
Freika committed Feb 2, 2025
1 parent 005b74e commit 6b0c6e1
Showing 1 changed file with 2 additions and 9 deletions.
11 changes: 2 additions & 9 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ jobs:
POSTGRES_DB: test_database
POSTGRES_PASSWORD: mysecretpassword
- image: redis:7.0

steps:
- checkout
- run:
Expand All @@ -45,23 +44,18 @@ jobs:
build-and-push:
executor:
name: docker/docker
# You can also specify a different image if required.
parameters:
tag:
type: string
default: "rc"
steps:
- checkout
# Login to Docker Hub using the orb command. The orb expects environment
# variables DOCKERHUB_USERNAME and DOCKERHUB_PASSWORD (or DOCKERHUB_TOKEN).
- docker/login:
username: "$DOCKERHUB_USERNAME"
password: "$DOCKERHUB_TOKEN"
# Build and publish the Docker image.
- docker/build-publish:
image: "freikin/dawarich:<< parameters.tag >>"
dockerfile: ./docker/Dockerfile.dev
# Set additional options if needed:
build-args: ""
extra-build-args: "--platform linux/amd64,linux/arm64,linux/arm/v7,linux/arm/v6"
registry: "docker.io"
Expand All @@ -77,7 +71,6 @@ workflows:
- test
filters:
branches:
ignore: /.*/ # Ignore branches; run only on tag builds (or adjust as needed)
ignore: /.*/ # Run only on tag builds
tags:
only: /.*/ # Run for any tag; adjust regex if you want more specific tag matching
tag: "<< pipeline.parameters.tag >>"
only: /.*/ # Run for any tag

0 comments on commit 6b0c6e1

Please sign in to comment.