Update module github.com/otiai10/copy to v1.14.0 #33
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
on: | |
pull_request: | |
types: [opened, reopened] | |
workflow_dispatch: | |
jobs: | |
build-git-workflows: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
name: checkout | |
- name: source-version | |
id: source-version | |
run: echo "version=$(cat version)-devel" >> $GITHUB_OUTPUT | |
- uses: mr-smithers-excellent/docker-build-push@v6 | |
name: push-container-image | |
with: | |
image: go-git-workflows #todo rename to git-workflows | |
registry: ghcr.io | |
username: ${{ github.repository }} | |
password: ${{ secrets.GHCR_TOKEN }} | |
dockerfile: Containerfile | |
directory: . | |
addLatest: false | |
tags: ${{ steps.source-version.outputs.version }}-devel | |
buildArgs: VERSION="${{ steps.source-version.outputs.version }}-$(git rev-parse --short HEAD)" | |
notify: | |
name: Slack Notifications | |
runs-on: ubuntu-latest | |
if: ${{ failure() }} | |
needs: | |
- build-git-workflows | |
steps: | |
- name: Notify Slack channel on failure | |
uses: rtCamp/action-slack-notify@v2 | |
env: | |
SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK }} | |
SLACK_ICON: https://avatars.githubusercontent.com/u/74975412?s=200&v=4 | |
SLACK_USERNAME: ${{ github.repository }} | |
SLACK_COLOR: '#ff0033' | |
SLACK_FOOTER: '' |