Deploy nightly release #481
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: Run Buildx | |
run: | | |
docker buildx build . \ | |
--push \ | |
--progress=plain \ | |
--tag docker.io/punksecurity/secret-magpie:nightly \ | |
--platform linux/amd64 |