2024-01-30 10:34:37 +00:00
|
|
|
name: release-nightly
|
|
|
|
|
|
|
|
on:
|
|
|
|
push:
|
|
|
|
branches: [ master ]
|
|
|
|
|
|
|
|
jobs:
|
|
|
|
build-docker:
|
|
|
|
runs-on: edge
|
|
|
|
steps:
|
|
|
|
- name: Checkout
|
2024-01-31 09:42:20 +00:00
|
|
|
uses: actions/checkout@v4
|
2024-01-30 10:34:37 +00:00
|
|
|
- name: Set up QEMU
|
2024-01-31 09:42:20 +00:00
|
|
|
uses: docker/setup-qemu-action@v3
|
2024-01-30 10:34:37 +00:00
|
|
|
- name: Set up Docker Buildx
|
2024-01-31 09:42:20 +00:00
|
|
|
uses: docker/setup-buildx-action@v3
|
2024-01-30 10:34:37 +00:00
|
|
|
- name: Login to Docker Hub
|
2024-01-31 09:42:20 +00:00
|
|
|
uses: docker/login-action@v3
|
2024-01-30 10:34:37 +00:00
|
|
|
with:
|
|
|
|
username: ${{ secrets.DOCKER_REGISTRY_USERNAME }}
|
|
|
|
password: ${{ secrets.DOCKER_REGISTRY_TOKEN }}
|
|
|
|
- name: Build and push
|
2024-01-31 09:42:20 +00:00
|
|
|
uses: docker/build-push-action@v5
|
2024-01-30 10:34:37 +00:00
|
|
|
with:
|
|
|
|
context: .
|
|
|
|
file: ./Dockerfile
|
|
|
|
push: true
|
|
|
|
tags: xsheep2010/passport:nightly
|