Skip to content

Add support for basic auth (#2) #1

Add support for basic auth (#2)

Add support for basic auth (#2) #1

Workflow file for this run

name: Release tag
on:
push:
tags:
- "*"
jobs:
docker:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Log into Github registry
run: echo "${{ secrets.GITHUB_TOKEN }}" | docker login ghcr.io -u ${{ github.actor }} --password-stdin
- name: Docker build
run: |
docker build --build-arg VERSION=${GITHUB_REF##*/} -t ghcr.io/0xsequence/prometheus-to-cloudwatch:${GITHUB_REF##*/} -t ghcr.io/0xsequence/prometheus-to-cloudwatch:latest .
docker push ghcr.io/0xsequence/prometheus-to-cloudwatch:${GITHUB_REF##*/}
docker push ghcr.io/0xsequence/prometheus-to-cloudwatch:latest