Skip to content

Merge pull request #205 from dana-team/dependabot/go_modules/github.c… #36

Merge pull request #205 from dana-team/dependabot/go_modules/github.c…

Merge pull request #205 from dana-team/dependabot/go_modules/github.c… #36

Workflow file for this run

name: post-merge
on:
push:
branches:
- main
env:
REGISTRY: ghcr.io
REPOSITORY_NAME: ${{ github.repository }}
jobs:
build-and-push-image:
name: Build and push image
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
steps:
- name: Checkout
uses: actions/checkout@v4.1.7
- name: Log in to the Container registry
uses: docker/login-action@9780b0c442fbb1117ed29e0efdff1e18412f7567
with:
registry: ${{ env.REGISTRY }}
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build and push docker image
run: make docker-build docker-push IMG=${{ env.REGISTRY }}/${{ env.REPOSITORY_NAME }}:main