Skip to content

snapclient-amd64

snapclient-amd64 #568

name: snapclient-amd64
on:
workflow_dispatch:
push:
branches:
- "master"
paths:
- "snapclient/**"
schedule:
- cron: '0 5 * * *'
jobs:
docker:
runs-on: ubuntu-latest
steps:
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Login to DockerHub
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Build and Push
uses: docker/build-push-action@v3
with:
push: true
context: "${{ github.server_url }}/${{ github.repository }}.git#${{ github.ref }}:snapclient"
tags: ${{ secrets.DOCKERHUB_SLUG }}/snapclient:amd64-latest