Skip to content

Merge pull request #43 from dana-team/dependabot/go_modules/github.co… #6

Merge pull request #43 from dana-team/dependabot/go_modules/github.co…

Merge pull request #43 from dana-team/dependabot/go_modules/github.co… #6

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
- name: Log in to the Container registry
uses: docker/login-action@5f4866a30a54f16a52d2ecb4a3898e9e424939cf
with:
registry: ${{ env.REGISTRY }}
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build and push image
run: make docker-build docker-push IMG=${{ env.REGISTRY }}/${{ env.REPOSITORY_NAME }}:main