Deploy nightly release #748
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Deploy nightly release | |
on: | |
schedule: | |
- cron: '0 3 * * *' | |
jobs: | |
buildx: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Login to DockerHub | |
uses: docker/login-action@v1 | |
with: | |
# TODO: replace username with action variable | |
username: punksecurity | |
password: ${{ secrets.DOCKER_ACCESS_TOKEN }} | |
- name: Set up Docker Buildx | |
id: buildx | |
uses: docker/setup-buildx-action@v1 | |
- name: Build and push | |
uses: docker/bake-action@v5 | |
with: | |
push: true | |
targets: "nightly" | |