Skip to content

Build & Push Docker image #208

Build & Push Docker image

Build & Push Docker image #208

name: "Build & Push Docker image"
on:
push:
branches:
- main
workflow_dispatch:
jobs:
push_docker_image:
runs-on: ubuntu-latest
steps:
- name: "Checkout code"
uses: actions/checkout@master
- name: "Build and publish a Docker image for ${{ github.repository }}"
uses: macbre/push-to-ghcr@master
with:
image_name: ${{ github.repository }}
github_token: ${{ secrets.GH_PACKAGES_TOKEN }}
docker_io_token: ${{ secrets.DOCKER_IO_ACCESS_TOKEN }}
docker_io_user: sportclimbing