chore: revert "fix(portal-loop): hotfix revert "chore: rename r/manfred -> r/moul (#2820)" (#2865)" #762
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: autocounterd | |
on: | |
pull_request: | |
branches: | |
- master | |
push: | |
paths: | |
- misc/autocounterd | |
- misc/loop | |
- .github/workflows/autocounterd.yml | |
branches: | |
- "master" | |
- "misc/autocounterd" | |
tags: | |
- "v*" | |
permissions: | |
contents: read | |
packages: write | |
jobs: | |
autocounterd: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Login to GitHub Container Registry | |
uses: docker/login-action@v3 | |
with: | |
registry: ghcr.io | |
username: ${{ github.repository_owner }} | |
password: ${{ secrets.GITHUB_TOKEN }} | |
- name: Docker metadata autocounterd | |
id: meta | |
uses: docker/metadata-action@v5 | |
with: | |
images: ghcr.io/${{ github.repository }}/autocounterd | |
tags: | | |
type=raw,value=latest | |
type=semver,pattern=v{{version}} | |
- name: Build and push | |
uses: docker/build-push-action@v6 | |
with: | |
push: ${{ github.event_name != 'pull_request' }} | |
tags: ${{ steps.meta.outputs.tags }} | |
labels: ${{ steps.meta.outputs.labels }} |