Skip to content

Commit 9d5900a

Browse files
authored
Move docker build to release workflow (#95)
* Move docker build to release workflow * Delete .github/workflows/tag-pushed.yml
1 parent b4d6ff6 commit 9d5900a

File tree

2 files changed

+18
-26
lines changed

2 files changed

+18
-26
lines changed

.github/workflows/release-published.yml

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,3 +14,21 @@ jobs:
1414
terraform-module:
1515
uses: cloudposse/.github/.github/workflows/shared-release-branches.yml@main
1616
secrets: inherit
17+
18+
ci-build-push:
19+
runs-on: ubuntu-latest
20+
steps:
21+
- name: Checkout
22+
uses: actions/checkout@v3
23+
with:
24+
fetch-depth: 0
25+
26+
- name: Build
27+
id: build
28+
uses: cloudposse/github-action-docker-build-push@main
29+
with:
30+
registry: registry.hub.docker.com
31+
organization: "${{ github.event.repository.owner.login }}"
32+
repository: "${{ github.event.repository.name }}"
33+
login: "${{ secrets.DOCKERHUB_USERNAME }}"
34+
password: "${{ secrets.DOCKERHUB_PASSWORD }}"

.github/workflows/tag-pushed.yml

Lines changed: 0 additions & 26 deletions
This file was deleted.

0 commit comments

Comments
 (0)