Skip to content

Update docker/build-push-action action to v6 (#10) #11

Update docker/build-push-action action to v6 (#10)

Update docker/build-push-action action to v6 (#10) #11

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