Skip to content

snapserver-amd64

snapserver-amd64 #184

name: snapserver-amd64
on:
workflow_dispatch:
push:
branches:
- "master"
paths:
- "snapserver/**"
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 }}:snapserver"
tags: ${{ secrets.DOCKERHUB_SLUG }}/snapserver:amd64-latest
build-args: |
target_arch=amd64