Skip to content

Remove weird line of code #260

Remove weird line of code

Remove weird line of code #260

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@1f99358870fe1c846a3ccba386cc2b2246836776
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@507c2f2dc502c992ad446e3d7a5dfbe311567a96
with:
images: mtrnord/erooster
- name: Build and push
uses: docker/build-push-action@37abcedcc1da61a57767b7588cb9d03eb57e28b3
with:
context: .
push: true
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
- name: Update repo description
uses: peter-evans/dockerhub-description@202973a37c8a723405c0c5f0a71b6d99db470dae
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_PASSWORD }}
repository: mtrnord/erooster