Skip to content

Added support for both v7 and v8 arm64 images #29

Added support for both v7 and v8 arm64 images

Added support for both v7 and v8 arm64 images #29

Workflow file for this run

name: docker-nginx
on:
push:
tags:
- v*
jobs:
main:
runs-on: ubuntu-22.04
steps:
- uses: FranzDiebold/github-env-vars-action@v2
- name: Checkout
uses: actions/checkout@v3
- name: Prepare docker buildx
uses: docker/setup-buildx-action@v2
- name: Login to ghcr.io
run: echo "${{ secrets.DOCKER_HUB_PASS }}" | docker login -u ${{ secrets.DOCKER_HUB_USER }} --password-stdin
- name: Build Docker image
uses: docker/build-push-action@v3
with:
context: .
platforms: linux/amd64,linux/arm64/v7,linux/arm64/v8
push: true
cache-from: type=gha
cache-to: type=gha,mode=max
tags: tivix/docker-nginx:${{ github.sha }}, tivix/docker-nginx:${{ env.CI_REF_NAME }}