Skip to content

Commit

Permalink
Fixed build docker image for arm64 platform
Browse files Browse the repository at this point in the history
  • Loading branch information
kochetovd committed Feb 3, 2025
1 parent 158a68d commit 3ac5ba8
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 9 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ jobs:
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
with:
platforms: linux/amd64,linux/386, linux/arm64, linux/arm64,linux/arm/v7
platforms: linux/amd64,linux/386, linux/arm64

- name: Extract metadata (tags, labels) for Docker
id: meta
Expand All @@ -60,7 +60,7 @@ jobs:
- name: Build and push Docker images
uses: docker/build-push-action@3b5e8027fcad23fda98b2e3ac259d8d67585f671
with:
platforms: linux/amd64,linux/386, linux/arm64, linux/arm64,linux/arm/v7
platforms: linux/amd64,linux/386, linux/arm64
context: .
push: true
tags: ${{ steps.meta.outputs.tags }}
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ RUN apt update \
curl \
mariadb-client

RUN curl -L https://github.com/a8m/envsubst/releases/download/v1.2.0/envsubst-`uname -s`-`uname -m` -o envsubst \
RUN curl -L https://github.com/a8m/envsubst/releases/download/v1.4.2/envsubst-`uname -s`-`uname -m | sed 's/aarch64/arm64/g'` -o envsubst \
&& chmod +x envsubst \
&& mv envsubst /usr/local/bin

Expand Down
2 changes: 1 addition & 1 deletion config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
)

const (
ReleemAgentVersion = "1.19.9"
ReleemAgentVersion = "1.19.9.1"
)

type Config struct {
Expand Down
2 changes: 1 addition & 1 deletion current_version_agent
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.19.9
1.19.9.1
4 changes: 2 additions & 2 deletions install.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/bin/bash
# install.sh - Version 1.19.9
# install.sh - Version 1.19.9.1
# (C) Releem, Inc 2022
# All rights reserved

Expand All @@ -9,7 +9,7 @@ export PATH=$PATH:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/
# using the package manager.

set -e -E
install_script_version=1.19.9
install_script_version=1.19.9.1
logfile="/var/log/releem-install.log"

WORKDIR="/opt/releem"
Expand Down
4 changes: 2 additions & 2 deletions mysqlconfigurer.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/bin/bash
# mysqlconfigurer.sh - Version 1.19.9
# mysqlconfigurer.sh - Version 1.19.9.1
# (C) Releem, Inc 2022
# All rights reserved

Expand All @@ -15,7 +15,7 @@ MYSQLTUNER_REPORT=$MYSQLCONFIGURER_PATH"mysqltunerreport.json"
RELEEM_MYSQL_VERSION=$MYSQLCONFIGURER_PATH"mysql_version"
MYSQLCONFIGURER_CONFIGFILE="${MYSQLCONFIGURER_PATH}${MYSQLCONFIGURER_FILE_NAME}"
MYSQL_MEMORY_LIMIT=0
VERSION="1.19.9"
VERSION="1.19.9.1"
RELEEM_INSTALL_PATH=$MYSQLCONFIGURER_PATH"install.sh"
logfile="/var/log/releem-mysqlconfigurer.log"

Expand Down

0 comments on commit 3ac5ba8

Please sign in to comment.