Bump security-framework-sys from 2.11.1 to 2.12.1 #605
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: Docker Workflow | |
on: | |
workflow_dispatch: | |
push: | |
branches: | |
- 'master' | |
tags: ['v*.*.*'] | |
pull_request: | |
branches: | |
- 'master' | |
workflow_call: | |
env: | |
REGISTRY: ghcr.io | |
IMAGE_NAME: ${{ github.repository }} | |
jobs: | |
push: | |
name: Build & Push Docker Image | |
runs-on: ubuntu-latest | |
if: github.event_name == 'push' || (github.event_name == 'workflow_call' && github.event.inputs.trigger == 'build') | |
permissions: | |
contents: read | |
packages: write | |
steps: | |
- name: Repository Checkout | |
uses: actions/checkout@v4 | |
- | |
name: Extract Git Metadata | |
id: meta | |
uses: docker/metadata-action@v5 | |
with: | |
#images: cyclefive/cracktunes | |
images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }} | |
- | |
name: Registry Login | |
uses: docker/login-action@v3 | |
with: | |
registry: ${{ env.REGISTRY }} | |
username: ${{ github.actor }} | |
password: ${{ secrets.GITHUB_TOKEN }} | |
- | |
name: Build & Push Docker Image | |
uses: docker/build-push-action@v5 | |
with: | |
context: . | |
# push: ${{ github.ref == 'refs/heads/master' || startsWith(github.ref, 'refs/tags/') }} | |
push: ${{ github.event_name != 'pull_request' }} | |
tags: ${{ steps.meta.outputs.tags }} | |
labels: ${{ steps.meta.outputs.labels }} |