Skip to content

Update docker/build-push-action action to v5 (#6) #8

Update docker/build-push-action action to v5 (#6)

Update docker/build-push-action action to v5 (#6) #8

name: Push to Github registry
on:
push:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Log in to the Container registry
uses: docker/login-action@5f4866a30a54f16a52d2ecb4a3898e9e424939cf
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build and push Docker image
uses: docker/build-push-action@v5
with:
context: .
push: true
tags: ghcr.io/qjoly/simpledebianrepository