Skip to content

Release to dockerhub (nightly) #6

Release to dockerhub (nightly)

Release to dockerhub (nightly) #6

name: Release to dockerhub (nightly)
on:
workflow_dispatch:
schedule:
- cron: '0 0 * * *'
push:
tags:
- 'v*.*.*'
jobs:
release:
runs-on: ubuntu-latest
steps:
- name: Login to Docker Hub
uses: docker/login-action@v3
with:
username: sweagent
password: ${{ secrets.DOCKERHUB_TOKEN }}
- name: Checkout code
uses: actions/checkout@v2
- name: Run release script
run: ./release_dockerhub.sh sweagent latest