Skip to content

Remove smoke test

Remove smoke test #3

Workflow file for this run

---
name: Publish
on:
push:
branches:
- master
tags:
- v*
pull_request:
jobs:
main:
runs-on: ubuntu-latest
permissions:
contents: write
id-token: write
packages: write
steps:
- uses: actions/checkout@v4
- uses: docker/setup-qemu-action@v3
- uses: docker/setup-buildx-action@v3
- id: docker
uses: docker/metadata-action@v5
with:
images: |
mfinelli/debian-osc
ghcr.io/mfinelli/debian-osc
- uses: docker/login-action@v3
if: github.event_name != 'pull_request'
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
- uses: docker/login-action@v3
if: github.event_name != 'pull_request'
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GHCR_TOKEN }}
- uses: docker/build-push-action@v5
with:
platforms: linux/amd64,linux/arm64
push: ${{ startsWith(github.ref, 'refs/tags/') }}
tags: ${{ steps.docker.outputs.tags }}
- uses: peter-evans/dockerhub-description@v3
if: ${{ startsWith(github.ref, 'refs/tags/') }}
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
repository: mfinelli/debian-osc
short-description: ${{ github.event.repository.description }}
- uses: ncipollo/release-action@v1
if: ${{ startsWith(github.ref, 'refs/tags/') }}