Skip to content

Commit c01c119

Browse files
Merge pull request #181 from LCSB-BioCore/lh-test-docker
change trigger action for docker
2 parents c6a5652 + ab9a964 commit c01c119

File tree

2 files changed

+11
-7
lines changed

2 files changed

+11
-7
lines changed

.github/workflows/docker.yml

Lines changed: 11 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
name: Publish Docker image
2+
23
on:
34
release:
4-
types: [published]
5+
types: [published, created]
6+
57
jobs:
68
push_to_registry:
79
name: Push Docker image to GitHub Packages
@@ -14,9 +16,12 @@ jobs:
1416
with:
1517
registry: docker.pkg.github.com
1618
username: cylon-x
17-
password: ${{ secrets.DOCKER_TOKEN }}
18-
- uses: docker/build-push-action@v2
19+
password: ${{ secrets.docker_token }}
20+
- name: Push to GitHub Registry
21+
uses: mr-smithers-excellent/docker-build-push@v5
1922
with:
20-
push: true
21-
tags: lcsb-biocore/gigasom:latest
22-
23+
image: gigasom.jl
24+
tags: latest
25+
registry: ghcr.io
26+
username: cylon-x
27+
password: ${{ secrets.docker_token }}

.github/workflows/docs.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ on:
66
branches:
77
- develop
88
tags: '*'
9-
pull_request:
109
release:
1110
types: [published, created]
1211

0 commit comments

Comments
 (0)