Skip to content

Commit

Permalink
[#82] Split jobs
Browse files Browse the repository at this point in the history
  • Loading branch information
juampynr committed Jul 5, 2022
1 parent 83f39f8 commit 10a84c8
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 18 deletions.
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
name: Merge actions
on:
push:
# branches:
# - master
# - 82-interactive-cli

jobs:
release-linux-amd64:
name: Build and create a release
Expand All @@ -25,18 +23,3 @@ jobs:
prerelease: false
files: |
drupal9ci
publish-docker-image:
name: Publish Docker image
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
name: Check out code
- uses: mr-smithers-excellent/docker-build-push@v5
with:
image: drupal9ci
tags: latest
registry: ghcr.io
githubOrg: lullabot
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
19 changes: 19 additions & 0 deletions .github/workflows/publish-docker-image.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: Merge actions
on:
push:

jobs:
publish-docker-image:
name: Publish Docker image
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
name: Check out code
- uses: mr-smithers-excellent/docker-build-push@v5
with:
image: drupal9ci
tags: latest
registry: ghcr.io
githubOrg: lullabot
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 10a84c8

Please sign in to comment.