Skip to content

Pin ghcr.io/pagopa/github-self-hosted-runner-azure Docker tag to b5639b3 #5

Pin ghcr.io/pagopa/github-self-hosted-runner-azure Docker tag to b5639b3

Pin ghcr.io/pagopa/github-self-hosted-runner-azure Docker tag to b5639b3 #5

name: Beta docker on dev branch
on:
push:
# Sequence of patterns matched against refs/heads
branches-ignore:
- 'main'
paths-ignore:
- 'CODEOWNERS'
- '**.md'
- '.**'
jobs:
release:
name: Beta docker on dev branch
runs-on: ubuntu-22.04
steps:
- name: Checkout
id: checkout
# from https://github.com/actions/checkout/commits/main
uses: actions/checkout@1f9a0c22da41e6ebfa534300ef656657ea2c6707
with:
persist-credentials: false
fetch-depth: 0
- name: Log in to the Container registry
id: docker_login
# from https://github.com/docker/login-action/commits/master
uses: docker/login-action@f4ef78c080cd8ba55a85445d5b36e214a81df20a
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build and push Docker image
id: docker_build_push
# from https://github.com/docker/build-push-action/commits/master
uses: docker/build-push-action@c56af957549030174b10d6867f20e78cfd7debc5
with:
context: .
push: true
tags: |
ghcr.io/${{ github.repository }}:beta-${{ github.ref_name }}
labels: |
maintainer=https://pagopa.it
org.opencontainers.image.source=https://github.com/${{ github.repository }}