mirror of
https://github.com/geoffwhittington/meshtastic-bridge.git
synced 2026-03-28 17:42:37 +01:00
25 lines
621 B
YAML
25 lines
621 B
YAML
on:
|
|
push:
|
|
tags:
|
|
- "*"
|
|
|
|
jobs:
|
|
build:
|
|
name: Build, push
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout main
|
|
uses: actions/checkout@main
|
|
|
|
- name: Build container
|
|
run: docker build --tag gwhittington/meshtastic-bridge:latest .
|
|
|
|
- name: Log in to Container Registry with short-lived credentials
|
|
run: docker login --username=gwhittington --password "${{secrets.DOCKER_HUB}}"
|
|
|
|
- name: Push image to Container Registry
|
|
run: docker push gwhittington/meshtastic-bridge:latest
|
|
|
|
- name: Logout from Container Registry
|
|
run: docker logout
|