Skip to content

Bump serde from 1.0.203 to 1.0.204 in the cargo-dependencies group (#31) #56

Bump serde from 1.0.203 to 1.0.204 in the cargo-dependencies group (#31)

Bump serde from 1.0.203 to 1.0.204 in the cargo-dependencies group (#31) #56

Workflow file for this run

name: Docker
on:
push:
branches: [main, master]
workflow_dispatch:
concurrency:
group: docker-${{ github.ref }}
cancel-in-progress: true
jobs:
build_and_push_docker:
runs-on: ubuntu-latest
permissions:
contents: read
packages: write
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Login to GitHub Container Registry
if: github.event_name != 'pull_request'
uses: docker/login-action@v1
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
- name: Extract Metadata
id: meta
uses: docker/metadata-action@v3
with:
images: ghcr.io/${{ github.repository }}
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1
- name: Build and Push
uses: docker/build-push-action@v2
with:
context: .
platforms: linux/amd64
push: ${{ github.event_name != 'pull_request' }}
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
- name: Delete old images
uses: snok/container-retention-policy@v1
with:
image-names: ${{ github.event.repository.name }}
cut-off: 1 day ago UTC
timestamp-to-use: updated_at
account-type: personal
token: ${{ secrets.TOKEN }}
untagged-only: true