name: Build Docker Image on: push: branches: - nightly-dev jobs: build-nightly: runs-on: ubuntu-20.04 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"