Remove debug print of bot token #14
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: Build Owlbot DEV Docker image | |
on: | |
push: | |
branches: [ "dockerize", "dev" ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
environment: dev | |
steps: | |
- | |
name: Checkout repository | |
uses: actions/checkout@v4 | |
with: | |
path: 'discord-owlbot' | |
- | |
name: Build the Docker image | |
working-directory: discord-owlbot | |
run: docker build . --file Dockerfile --tag cntoarma/owlbot:dev | |
- | |
name: Authenticate to CNTO DockerHub | |
uses: docker/login-action@v3 | |
with: | |
username: ${{ secrets.DOCKERHUB_USERNAME }} | |
password: ${{ secrets.DOCKERHUB_TOKEN }} | |
- | |
name: Publish image to DockerHub | |
run: docker image push cntoarma/owlbot:dev |