RoadSign/.github/workflows/nightly.yml

29 lines
722 B
YAML
Raw Normal View History

2023-11-18 13:18:30 +00:00
name: release-nightly
on:
push:
2024-02-14 07:20:50 +00:00
branches: [master]
2023-11-18 13:18:30 +00:00
jobs:
2024-01-31 09:32:09 +00:00
build-image:
runs-on: ubuntu-latest
2023-11-18 13:18:30 +00:00
steps:
- name: Checkout
2024-01-31 09:32:09 +00:00
uses: actions/checkout@v4
2023-11-18 13:18:30 +00:00
- name: Set up QEMU
2024-01-31 09:32:09 +00:00
uses: docker/setup-qemu-action@v3
2023-11-18 13:18:30 +00:00
- name: Set up Docker Buildx
2024-01-31 09:32:09 +00:00
uses: docker/setup-buildx-action@v3
2023-11-18 13:18:30 +00:00
- name: Login to Docker Hub
2024-01-31 09:32:09 +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-01-31 09:32:09 +00:00
uses: docker/build-push-action@v5
2023-11-18 13:18:30 +00:00
with:
context: .
push: true
2024-01-31 09:32:09 +00:00
file: ./Dockerfile
2024-02-14 07:20:50 +00:00
tags: xsheep2010/roadsign:delta