Skip to content

Vimgolf Docker client #54

Vimgolf Docker client

Vimgolf Docker client #54

Workflow file for this run

name: Vimgolf Docker client
on:
schedule:
- cron: '30 5 * * 2'
workflow_dispatch: {}
jobs:
docker:
runs-on: ubuntu-latest
steps:
- name: Check out git tree
uses: actions/checkout@v2
- name: Generate Docker metadata
id: meta
uses: docker/metadata-action@v3
with:
images: |
ghcr.io/${{ github.repository }}
tags: |
type=schedule,pattern={{date 'YYYYMMDD'}}
type=raw,value={{date 'YYYYMMDD'}},prefix=manual-,enable=${{ github.event_name == 'workflow_dispatch' }}
flavor: |
latest=true
- name: Set up QEMU
uses: docker/setup-qemu-action@v2
- name: Set up Buildx
uses: docker/setup-buildx-action@v1
- name: Login to GitHub Container Registry
uses: docker/login-action@v1
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build and Push
uses: docker/build-push-action@v2
with:
context: client/
platforms: linux/amd64,linux/arm64
push: true
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}