2024-04-02 14:21:30 +08:00
|
|
|
name: Build Docker Image
|
2024-04-02 14:59:33 +08:00
|
|
|
on:
|
|
|
|
push:
|
|
|
|
branches:
|
|
|
|
- nightly-dev
|
2024-04-02 14:21:30 +08:00
|
|
|
|
|
|
|
jobs:
|
2024-04-02 15:00:56 +08:00
|
|
|
build-nightly:
|
2024-04-02 15:10:28 +08:00
|
|
|
runs-on: ubuntu-23.10
|
2024-04-02 14:21:30 +08:00
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v4
|
|
|
|
- uses: docker/setup-buildx-action@v3
|
|
|
|
- uses: docker/login-action@v3
|
|
|
|
with:
|
|
|
|
username: ${{ secrets.DOCKERHUB_USERNAME }}
|
|
|
|
password: ${{ secrets.DOCKERHUB_TOKEN }}
|
|
|
|
- uses: docker/build-push-action@v5
|
|
|
|
with:
|
|
|
|
context: .
|
|
|
|
file: ./Dockerfile
|
|
|
|
push: true
|
|
|
|
tags: "arielherself/myoauth:nightly"
|