Skip to content

update base image to alpine:3.18 #17

update base image to alpine:3.18

update base image to alpine:3.18 #17

Workflow file for this run

name: meta-gateway-docker-ci
on: [push, workflow_dispatch]
jobs:
docker-build-multiarch:
runs-on: ubuntu-22.04
steps:
-
name: Checkout
uses: actions/checkout@v3
-
name: Set up QEMU
uses: docker/setup-qemu-action@v2
-
name: Set up Docker buildx
id: buildx
uses: docker/setup-buildx-action@v2
-
name: Available Platforms
run: echo ${{ steps.buildx.outputs.platforms }}
-
name: Login to hub.docker.com
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
-
name: Build Docker Image
run: |
VERSION=`./version.sh`
echo Version: ${VERSION}
docker buildx build \
--platform linux/amd64,linux/arm/v7,linux/arm64 \
--output "type=image,push=true" \
--tag macchina/rmgateway:latest \
--tag macchina/rmgateway:${VERSION} \
--file ./Dockerfile .