Skip to content

Release (asd-action) #39

Release (asd-action)

Release (asd-action) #39

name: Release (asd-action)
on:
workflow_dispatch:
release:
types: [published]
jobs:
publish:
name: Push Docker image to GitHub Container Registry
runs-on: ubuntu-latest
env:
PACKAGE_NAME: asd-action
VERSION_NAME: latest
steps:
- name: Check out the repo
uses: actions/checkout@v2
- name: Login to GitHub Container Registry
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Push to GitHub Container Registry
uses: docker/build-push-action@v5
with:
file: docker/asd-action/Dockerfile
context: docker/asd-action
push: true
tags: ghcr.io/alps-asd/asd-action:latest
env:
DOCKER_BUILDKIT: 1