forked from VHDL-LS/rust_hdl
-
Notifications
You must be signed in to change notification settings - Fork 0
39 lines (36 loc) · 883 Bytes
/
docker.yml
File metadata and controls
39 lines (36 loc) · 883 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
30
31
32
33
34
35
36
37
38
39
name: Docker
on:
push:
branches:
- master
tags:
- '**'
jobs:
publish:
name: Publish
if: github.repository == 'VHDL-LS/rust_hdl'
strategy:
matrix:
crate:
- vhdl_lang
- vhdl_ls
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: jerray/publish-docker-action@v1.0.3
env:
CRATE: ${{ matrix.crate }}
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
repository: kraigher/${{ matrix.crate }}
auto_tag: true
build_args: CRATE
# A job is required when the publish job is skipped
skip-publish:
name: Skip publish
if: github.repository != 'VHDL-LS/rust_hdl'
runs-on: ubuntu-latest
steps:
- name: Report
run: echo Skipped action from repository ${{ github.repository }}