fix PATH #7
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: security.txt Image | |
on: | |
workflow_dispatch: | |
push: | |
branches: | |
- main | |
paths-ignore: | |
- 'docker-compose.yml' | |
- '.github/**' | |
- 'README.md' | |
- 'LICENSE' | |
env: | |
IMAGE_BASE_TAG: git.b0t.at/b0t-at/security.txt | |
jobs: | |
build-and-push-image: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
with: | |
ref: ${{ github.event.inputs.branch }} | |
- name: Login to GitHub Container Registry | |
uses: docker/login-action@v3 | |
with: | |
registry: ${{ vars.registry_uri }} | |
username: ${{ secrets.registry_username }} | |
password: ${{ secrets.registry_password }} | |
- name: Build and push Docker image Frontend | |
uses: docker/build-push-action@v5 | |
with: | |
push: true | |
tags: ${{ env.IMAGE_BASE_TAG }}:latest |