Skip to content

chore(ci): update action #318

chore(ci): update action

chore(ci): update action #318

name: Push Alpine Dev Image
on:
push:
branches:
- '0.2.2'
permissions:
contents: read
packages: write
id-token: write
security-events: write
jobs:
push_dev_image:
name: Build and Push Dev Image
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: docker/setup-qemu-action@v3
with:
platforms: linux/amd64,linux/arm64
- uses: docker/setup-buildx-action@v3
with:
install: true
driver-opts: |
image=moby/buildkit:v0.12.5
- uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
- uses: docker/metadata-action@v5
id: meta
with:
images: orenlab/pytmbot
tags: |
type=raw,value=alpine-dev
labels: |
org.opencontainers.image.title=pyTMbot
org.opencontainers.image.description=Versatile Telegram bot designed for managing Docker containers, monitoring server status, and extending its functionality through a modular plugin system
org.opencontainers.image.source=https://github.com/orenlab/pytmbot
- uses: docker/build-push-action@v5
id: build-and-push
with:
context: .
target: production
file: Dockerfile
push: true
platforms: linux/amd64,linux/arm64
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
cache-from: type=gha
cache-to: type=gha,mode=max
provenance: mode=max
- name: Run Vulnerability Scan
uses: anchore/scan-action@v3
id: scan
with:

Check failure on line 67 in .github/workflows/development_image_ci.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/development_image_ci.yml

Invalid workflow file

You have an error in your yaml syntax on line 67
image: orenlab/pytmbot:alpine-dev
fail-build: false
severity-cutoff: high
acs-report-enable: true
sarif-file: { { github.workspace } }/results.sarif
- name: Upload SARIF (if exists)
if: success() && ${{ github.workspace }}/results.sarif
uses: github/codeql-action/upload-sarif@v3
with:
sarif_file: results.sarif