Skip to content

Commit dac7460

Browse files
committed
remove arv/v7 from platform targets
1 parent 10a3efa commit dac7460

File tree

2 files changed

+8
-52
lines changed

2 files changed

+8
-52
lines changed

.github/workflows/publish.yml

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,4 @@
1-
# GitHub recommends pinning actions to a commit SHA.
2-
# To get a newer version, you will need to update the SHA.
3-
# You can also reference a tag or branch, but the action may change without warning.
4-
51
name: Publish Docker image
6-
72
on:
83
push:
94
branches:
@@ -18,18 +13,20 @@ jobs:
1813
steps:
1914
- name: Get current date
2015
run: echo "curr_date=$(date --utc +%Y-%m-%dT%H:%M:%SZ)" >> $GITHUB_ENV
16+
2117
- name: Set up QEMU
2218
uses: docker/setup-qemu-action@v3
19+
2320
- name: Set up Docker Buildx
2421
uses: docker/setup-buildx-action@v3
22+
2523
- name: Login to ghcr.io
2624
uses: docker/login-action@v3
2725
with:
2826
registry: ghcr.io
2927
username: ${{ github.repository_owner }}
3028
password: ${{ secrets.GITHUB_TOKEN }}
31-
- name: Checkout
32-
uses: actions/checkout@v4
29+
3330
- name: Build and push ${{github.event.release.tag_name }}
3431
id: docker_build_release
3532
uses: docker/build-push-action@v5
@@ -39,7 +36,7 @@ jobs:
3936
pull: true
4037
push: true
4138
tags: ghcr.io/mangosango/clive:latest,ghcr.io/mangosango/clive:${{ github.event.release.tag_name }}
42-
platforms: linux/amd64,linux/arm64,linux/arm/v7
39+
platforms: linux/amd64,linux/arm64
4340
provenance: false
4441
build-args: |
4542
VERSION=${{ github.event.release.tag_name }}
@@ -58,7 +55,7 @@ jobs:
5855
pull: true
5956
push: true
6057
tags: ghcr.io/mangosango/clive:main
61-
platforms: linux/amd64,linux/arm64,linux/arm/v7
58+
platforms: linux/amd64,linux/arm64
6259
provenance: false
6360
build-args: |
6461
VERSION=main

compose.yaml

Lines changed: 2 additions & 43 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,6 @@
1-
# Comments are provided throughout this file to help you get started.
2-
# If you need more help, visit the Docker Compose reference guide at
3-
# https://docs.docker.com/go/compose-spec-reference/
4-
5-
# Here the instructions define your application as a service called "server".
6-
# This service is built from the Dockerfile in the current directory.
7-
# You can add other services your application may depend on here, such as a
8-
# database or a cache. For examples, see the Awesome Compose repository:
9-
# https://github.com/docker/awesome-compose
101
services:
112
clive:
12-
env_file: .env
3+
image: ghcr.io/mangosango/clive:latest
134
volumes:
145
- /path/to/db_and_logs_folder:/config
156
# environment:
@@ -26,36 +17,4 @@ services:
2617
# RICH_EMBED: true
2718
# URL_AVATAR: http://i.imgur.com/9s3TBNv.png
2819
# BOT_USERNAME: "Clive"
29-
30-
31-
# The commented out section below is an example of how to define a PostgreSQL
32-
# database that your application can use. `depends_on` tells Docker Compose to
33-
# start the database before your application. The `db-data` volume persists the
34-
# database data between container restarts. The `db-password` secret is used
35-
# to set the database password. You must create `db/password.txt` and add
36-
# a password of your choosing to it before running `docker-compose up`.
37-
# depends_on:
38-
# db:
39-
# condition: service_healthy
40-
# db:
41-
# image: postgres
42-
# restart: always
43-
# user: postgres
44-
# secrets:
45-
# - db-password
46-
# volumes:
47-
# - db-data:/var/lib/postgresql/data
48-
# environment:
49-
# - POSTGRES_DB=example
50-
# - POSTGRES_PASSWORD_FILE=/run/secrets/db-password
51-
# expose:
52-
# - 5432
53-
# healthcheck:
54-
# test: [ "CMD", "pg_isready" ]
55-
# interval: 10s
56-
# timeout: 5s
57-
# retries: 5
58-
# volumes:
59-
# db-data:
60-
61-
20+
# env_file: .env # Alternatly use a .env file

0 commit comments

Comments
 (0)