8000 Fix: Actually tag Docker image before attempting to push it by localheinz · Pull Request #50 · ergebnis/composer-normalize-action · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
This repository was archived by the owner on Mar 6, 2021. It is now read-only.

Fix: Actually tag Docker image before attempting to push it #50

Merged
merged 1 commit into from
Sep 20, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion .github/workflows/continuous-integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
- name: "Checkout"
uses: actions/checkout@master

- name: "Build and tag Docker image"
- name: "Build Docker image"
run: $(which docker) build --tag localheinz/composer-normalize-action ${GITHUB_WORKSPACE}

- name: "Run Docker image with default behaviour"
Expand All @@ -33,6 +33,10 @@ jobs:
if: "'refs/heads/master' == github.ref || startsWith(github.ref, 'refs/tags/')"
run: $(which docker) push localheinz/composer-normalize-action:latest

- name: "Tag Docker image (versioned)"
if: "startsWith(github.ref, 'refs/tags/')"
run: $(which docker) tag localheinz/composer-normalize-action localheinz/composer-normalize-action:$(bash ./.build/tag-name.sh ${GITHUB_REF})

- name: "Push Docker image (versioned)"
if: "startsWith(github.ref, 'refs/tags/')"
run: $(which docker) push localheinz/composer-normalize-action:$(bash ./.build/tag-name.sh ${GITHUB_REF})
Expand Down
10 changes: 9 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,15 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),

## Unreleased

For a full diff see [`0.5.1...master`](https://github.com/localheinz/composer-normalize-action/compare/0.5.1...master).
For a full diff see [`0.5.2...master`](https://github.com/localheinz/composer-normalize-action/compare/0.5.2...master).

## [`0.5.2`](https://github.com/localheinz/composer-normalize-action/releases/tag/0.5.2)

For a full diff see [`0.5.1...0.5.2`](https://github.com/localheinz/composer-normalize-action/compare/0.5.1...0.5.2).

### Fixed

* Actually tag Docker image before attempting to push it ([#50](https://github.com/localheinz/composer-normalize-action/pull/50)), by [@localheinz](https://github.com/localheinz)

## [`0.5.1`](https://github.com/localheinz/composer-normalize-action/releases/tag/0.5.1)

Expand Down
0