Skip to content
This repository has been archived by the owner on Aug 28, 2024. It is now read-only.

Commit

Permalink
Added docker workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
guillecro authored Aug 14, 2023
1 parent c38ae76 commit c26ddf8
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/docker.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
# version 1.0
name: Build and push
on:
push:
tags:
- '*'

jobs:
work:
name: Work
runs-on: ubuntu-latest
steps:
- name: Check out the code
uses: actions/checkout@v2
- name: Lowercase
id: lower
uses: ASzc/change-string-case-action@v1
with:
string: ${{ github.repository }}
- name: Build & Push docker image
uses: mr-smithers-excellent/docker-build-push@v4
with:
image: ${{ steps.lower.outputs.lowercase }}
registry: ghcr.io
username: ${{ secrets.REGISTRY_USER }}
password: ${{ secrets.REGISTRY_PASSWORD }}
- name: Notify Slack
uses: craftech-io/slack-action@v1
with:
slack_webhook_url: ${{ secrets.SLACK_WEBHOOK }}
if: always()

0 comments on commit c26ddf8

Please sign in to comment.