Skip to content

Create release on pushes to main #2

Create release on pushes to main

Create release on pushes to main #2

Workflow file for this run

on:
pull_request:
types:
- closed
env:
REGISTRY: ghcr.io
IMAGE_NAME: cloudflared-ssh-action
jobs:
if_merged:
if: github.event.pull_request.merged == true
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Login to GitHub Packages
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Build and push
uses: docker/build-push-action@v5
with:
context: .
push: true
tags: latest