Skip to content

v0.1.10

v0.1.10 #12

Workflow file for this run

name: Build and public image
on:
release:
types:
- published
jobs:
push_to_registry:
name: Push Docker to repository
runs-on: ubuntu-latest
steps:
- name: Check out the repository
uses: actions/[email protected]
- name: Log in to artifact storage
uses: docker/[email protected]
with:
registry: ${{ secrets.REGISTRY_URL }}
username: ${{ secrets.REGISTRY_USERNAME }}
password: ${{ secrets.REGISTRY_PASSWORD }}
- name: Extract metadata (tags, labels) for Docker
id: meta
uses: docker/[email protected]
with:
images: ${{ secrets.REGISTRY_URL }}/${{ secrets.REGISTRY_IMAGE }}
- name: Build and push Docker image
id: push
uses: docker/[email protected]
with:
context: .
file: ./dockerfile
push: true
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}