Skip to content

Merge pull request #230 from Azulinho/next_release #196

Merge pull request #230 from Azulinho/next_release

Merge pull request #230 from Azulinho/next_release #196

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