Skip to content

snapclient-arm64v8

snapclient-arm64v8 #4

name: snapclient-arm64v8
on:
workflow_dispatch:
push:
branches:
- "master"
paths:
- "snapclient/**"
jobs:
build-and-push:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up QEMU
uses: docker/setup-qemu-action@v3
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Login to Docker Hub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Build and Push
uses: docker/build-push-action@v6
with:
push: true
context: "${{ github.server_url }}/${{ github.repository }}.git#${{ github.ref }}:snapclient"
tags: |
${{ secrets.DOCKERHUB_SLUG }}/snapclient:arm64v8-latest
${{ secrets.DOCKERHUB_SLUG }}/snapclient:arm64v8-${{github.run_number}}
platforms: linux/arm64