RoadSign/.github/workflows/nightly.yml

29 lines
724 B
YAML
Raw Normal View History

2023-11-18 13:18:30 +00:00
name: release-nightly
on:
push:
branches: [ master ]
jobs:
2024-02-12 16:01:39 +00:00
build-image:
runs-on: ubuntu-latest
2023-11-18 13:18:30 +00:00
steps:
- name: Checkout
2024-02-12 16:01:39 +00:00
uses: actions/checkout@v4
2023-11-18 13:18:30 +00:00
- name: Set up QEMU
2024-02-12 16:01:39 +00:00
uses: docker/setup-qemu-action@v3
2023-11-18 13:18:30 +00:00
- name: Set up Docker Buildx
2024-02-12 16:01:39 +00:00
uses: docker/setup-buildx-action@v3
2023-11-18 13:18:30 +00:00
- name: Login to Docker Hub
2024-02-12 16:01:39 +00:00
uses: docker/login-action@v3
2023-11-18 13:18:30 +00:00
with:
username: ${{ secrets.DOCKER_REGISTRY_USERNAME }}
password: ${{ secrets.DOCKER_REGISTRY_TOKEN }}
- name: Build and push
2024-02-12 16:01:39 +00:00
uses: docker/build-push-action@v5
2023-11-18 13:18:30 +00:00
with:
context: .
push: true
2024-02-12 16:01:39 +00:00
file: ./Dockerfile
tags: xsheep2010/roadsign:sigma