Adds attachment description if it exists #108
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
name: Build and Deploy | |
on: | |
push: | |
env: | |
CI_REGISTRY_IMAGE: "${{ secrets.CI_REGISTRY }}/rageshake" | |
jobs: | |
build-docker: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Login to Beeper Docker registry | |
uses: docker/login-action@v2 | |
with: | |
registry: ${{ secrets.CI_REGISTRY }} | |
username: ${{ secrets.CI_REGISTRY_USER }} | |
password: ${{ secrets.CI_REGISTRY_PASSWORD }} | |
- name: Docker Build | |
uses: docker/build-push-action@v2 | |
with: | |
cache-from: ${{ env.CI_REGISTRY_IMAGE }}:latest | |
pull: true | |
tags: ${{ env.CI_REGISTRY_IMAGE }}:${{ github.sha }} | |
push: true | |
deploy-docker: | |
runs-on: ubuntu-latest | |
needs: | |
- build-docker | |
if: github.ref == 'refs/heads/beeper' | |
steps: | |
- name: Login to Beeper Docker registry | |
uses: docker/login-action@v2 | |
with: | |
registry: ${{ secrets.CI_REGISTRY }} | |
username: ${{ secrets.CI_REGISTRY_USER }} | |
password: ${{ secrets.CI_REGISTRY_PASSWORD }} | |
- uses: beeper/docker-retag-push-latest@main | |
with: | |
image: ${{ env.CI_REGISTRY_IMAGE }} |