name: Docker Build on: push: branches: - master jobs: Build: runs-on: docker container: catthehacker/ubuntu:act-latest steps: - name: Checkout code uses: actions/checkout@v2 with: token: ${{ secrets.COASTALCOMMITSTOKEN }} - name: Login to CoastalCommits uses: actions/docker-login@v3 with: username: SeaswimmerTheFsh password: ${{ secrets.COASTALCOMMITSTOKEN }} - name: Build and push Docker image uses: actions/docker-build-push@v5 with: context: . file: Dockerfile push: true tags: https://coastalcommits.com/seaswimmerthefsh/discordeventlog:latest