Files
nostdress/.github/workflows/docker.yml
T
believethehype c1fa258ee9 Update docker.yml
2023-04-09 13:44:26 +02:00

26 lines
606 B
YAML

name: Docker build & push
on:
push:
tags:
- '*'
jobs:
build:
env:
REGISTRY: ghcr.io
IMAGENAME: ${{ github.event.repository.name }}
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
name: Check out code
- name: Docker build
uses: mr-smithers-excellent/docker-build-push@v6
id: build
with:
image: ${{ env.IMAGENAME }}
registry: ${{ env.REGISTRY }}
multiPlatform: true
platform: linux/amd64,linux/arm64
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}