mirror of
https://github.com/believethehype/nostdress.git
synced 2026-06-09 03:21:54 -07:00
26 lines
608 B
YAML
26 lines
608 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@v4
|
|
name: Check out code
|
|
- name: Docker build
|
|
uses: mr-smithers-excellent/docker-build-push@v6.3
|
|
id: build
|
|
with:
|
|
image: ${{ env.IMAGENAME }}
|
|
registry: ${{ env.REGISTRY }}
|
|
multiPlatform: true
|
|
platform: linux/amd64,linux/arm64
|
|
username: ${{ github.repository_owner }}
|
|
password: ${{ secrets.GITHUB_TOKEN }}
|