-
Notifications
You must be signed in to change notification settings - Fork 1
29 lines (26 loc) · 991 Bytes
/
publish_docker.yml
File metadata and controls
29 lines (26 loc) · 991 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
name: Publish Container to Docker Packages
# Documentation on the primary Action used here: https://github.com/marketplace/actions/publish-docker
# https://docs.github.com/en/packages/getting-started-with-github-container-registry/enabling-github-container-registry-for-your-organization
on:
release:
types: [published]
push:
branches:
- development
jobs:
publish_release:
runs-on: ubuntu-latest
steps:
- name: Reclaim space
run: |
sudo rm -rf /usr/share/dotnet
sudo rm -rf /opt/ghc
- uses: actions/checkout@master
- name: Publish to Registry
uses: elgohr/Publish-Docker-Github-Action@v5
with:
name: mlf-core/sc_autoencoder
username: mlf-core
password: "${{ secrets.MLF_CORE_SYNC_TOKEN}}"
registry: ghcr.io
tags: "latest,1.0.0"