Skip to content

#61 remove linux/arm64 (#63) #2

#61 remove linux/arm64 (#63)

#61 remove linux/arm64 (#63) #2

name: docker-push-containers-to-dockerhub.yaml
on:
push:
tags:
- "[0-9]+.[0-9]+.[0-9]+"
jobs:
docker-push-containers-to-dockerhub:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
fetch-depth: "0"
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Docker list platforms
run: docker buildx ls
- name: Dockerhub login
run: echo "${{ secrets.DOCKERHUB_PASSWORD }}" | docker login -u "${{ secrets.DOCKERHUB_USERNAME }}" --password-stdin
- name: Docker build images
run: |
docker buildx build \
--no-cache \
--platform linux/amd64 \
--push \
--tag senzing/senzingapi-runtime:${{ github.ref_name }} \
--tag senzing/sengingapi-runtime:latest \
.