Skip to content

update coingecko api #5

update coingecko api

update coingecko api #5

name: Docker image build
on:
push:
branches:
- master
workflow_dispatch:
jobs:
docker-image-build:
name: Docker image build
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Setup Docker Buildx
uses: docker/setup-buildx-action@v2
- name: Login to Docker Hub
uses: docker/login-action@v2
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build and push docker image
uses: docker/build-push-action@v4
with:
context: .
file: ./Dockerfile
push: true
tags: ghcr.io/bdeak4/chatter:${{ github.sha }},ghcr.io/bdeak4/chatter:latest
cache-from: type=gha
cache-to: type=gha,mode=max