Skip to content

Commit

Permalink
[#82] Test creating release and publishing Docker image
Browse files Browse the repository at this point in the history
  • Loading branch information
juampynr committed Jul 5, 2022
1 parent 4a919fc commit 67a514d
Showing 1 changed file with 17 additions and 3 deletions.
20 changes: 17 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
name: Create release binaries
on:
release:
types: [created]

push:
# branches:
# - master
jobs:
release-linux-amd64:
name: release linux/amd64
Expand All @@ -14,3 +14,17 @@ jobs:
github_token: ${{ secrets.GITHUB_TOKEN }}
goos: linux
goarch: amd64

publish-docker-image:
name: Publish Docker image
steps:
- uses: actions/checkout@v2
name: Check out code

- uses: mr-smithers-excellent/docker-build-push@v5
with:
image: drupal9ci
registry: ghcr.io
githubOrg: lullabot
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 67a514d

Please sign in to comment.