Skip to content

Update docker-image.yml #7

Update docker-image.yml

Update docker-image.yml #7

Workflow file for this run

name: Deploy Images to GHCR
on:
push:
branches:
- main
workflow_dispatch:
jobs:
push-store-image:
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
defaults:
run:
working-directory: '.'
steps:
- name: 'Checkout GitHub Action'
uses: actions/checkout@v4
- name: 'Login to GitHub Container Registry'
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{github.actor}}
password: ${{secrets.GITHUB_TOKEN}}
- name: "Build and Push Telegram Bot"
uses: docker/build-push-action@v3
with:
context: .
file: ./Dockerfile
push: true
tags: ghcr.io/curiousdima/pardon-my-english:latest
platforms: linux/amd64, linux/arm64, linux/arm/v7