Merge pull request #230 from Azulinho/next_release #196
Workflow file for this run
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: docker build cryptobot:next_release | |
on: | |
push: | |
branches: | |
- "next_release" | |
jobs: | |
push_to_registry: | |
name: Push Docker image to GitHub Container Registry | |
runs-on: self-hosted | |
permissions: | |
packages: write | |
contents: write | |
steps: | |
- name: Check out the repo | |
uses: actions/checkout@v2 | |
with: | |
fetch-depth: 0 | |
- name: Login to GitHub Container Registry | |
uses: docker/login-action@v1 | |
with: | |
registry: ghcr.io | |
username: ${{ github.actor }} | |
password: ${{ secrets.GITHUB_TOKEN }} | |
- name: docker build | |
run: | |
./run build TAG=next_release | |
- name: docker push | |
run: | |
docker push ghcr.io/azulinho/cryptobot:next_release | |