Skip to content

Merge pull request #8 from mohemohe/fix-s3-timestamp #3

Merge pull request #8 from mohemohe/fix-s3-timestamp

Merge pull request #8 from mohemohe/fix-s3-timestamp #3

Workflow file for this run

name: Build and Publish Docker
on:
push:
branches:
- main
jobs:
build_and_push:
runs-on: ubuntu-latest
env:
IMAGE_NAME: mastodon-markov-bot
steps:
- name: checkout
uses: actions/checkout@v2
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1
- name: Login to GitHub Container Registry
uses: docker/login-action@v1
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.CR_PAT }}
- name: Build and push
uses: docker/build-push-action@v2
with:
context: .
push: true
tags: |
ghcr.io/${{ github.repository_owner }}/${{ env.IMAGE_NAME }}:latest