Skip to content

Ensure the returned ranges are sane #292

Ensure the returned ranges are sane

Ensure the returned ranges are sane #292

Workflow file for this run

name: Docker Image CI
on:
push:
branches: ["main"]
release:
types: [published]
permissions:
contents: read
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Harden Runner
uses: step-security/harden-runner@cba0d00b1fc9a034e1e642ea0f1103c282990604
with:
egress-policy: block
allowed-endpoints: >
api.github.com:443
auth.docker.io:443
gcr.io:443
github.com:443
hub.docker.com:443
production.cloudflare.docker.com:443
registry-1.docker.io:443
storage.googleapis.com:443
crates.io:443
index.crates.io:443
static.crates.io:443
gitlab.com:443
index.docker.io:443
static.rust-lang.org:443
- uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9
- name: Log in to Docker Hub
uses: docker/login-action@f4ef78c080cd8ba55a85445d5b36e214a81df20a
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_PASSWORD }}
- name: Extract metadata (tags, labels) for Docker
id: meta
uses: docker/metadata-action@818d4b7b91585d195f67373fd9cb0332e31a7175
with:
images: mtrnord/erooster
- name: Build and push
uses: docker/build-push-action@2eb1c1961a95fc15694676618e422e8ba1d63825
with:
context: .
push: true
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
- name: Update repo description
uses: peter-evans/dockerhub-description@dc67fad7001ef9e8e3c124cb7a64e16d0a63d864
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_PASSWORD }}
repository: mtrnord/erooster