Skip to content

Merge pull request #23 from warpdotgreen/async_retry #22

Merge pull request #23 from warpdotgreen/async_retry

Merge pull request #23 from warpdotgreen/async_retry #22

Workflow file for this run

name: Run Build
on:
push:
branches:
- master
release:
types: [created]
jobs:
publish_containers:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Login to registry
run: echo "${{ secrets.GITHUB_TOKEN }}" | docker login ghcr.io -u ${{ github.actor }} --password-stdin
- name: Docker meta
id: meta
uses: docker/metadata-action@v5
with:
images: ghcr.io/${{ github.repository_owner }}/cli
tags: |
type=ref,event=branch
type=ref,event=pr
type=match,pattern=v(.*),group=1
- name: Push to GHCR
uses: docker/build-push-action@v5
with:
context: .
file: Dockerfile
push: true
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}