Skip to content

Commit

Permalink
fix: ci + readme
Browse files Browse the repository at this point in the history
  • Loading branch information
aoudiamoncef committed Jun 19, 2024
1 parent b9d648c commit 0a542ca
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/cd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ jobs:
ghcr.io/${{ github.repository }}/ubuntu-sshd
- name: Build and push to Docker Hub and GitHub Container Registry
id: build
uses: docker/build-push-action@v5
with:
context: .
Expand All @@ -55,6 +56,7 @@ jobs:
labels: ${{ steps.meta.outputs.labels }}

- name: Generate artifact attestation
id: attest
uses: actions/attest-build-provenance@v1
with:
subject-name: ghcr.io/${{ github.repository }}/ubuntu-sshd
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
name: Docker Image CI

on:
push:
branches:
- 'main'
pull_request:
branches:
- 'main'
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# SSH-Enabled Ubuntu Docker Image

[![Docker Image CI](https://github.com/aoudiamoncef/ubuntu-sshd/actions/workflows/ci_cd.yml/badge.svg)](https://github.com/aoudiamoncef/ubuntu-sshd/actions/workflows/ci.yml)
[![Docker Image Deployment](https://github.com/aoudiamoncef/ubuntu-sshd/actions/workflows/ci_cd.yml/badge.svg)](https://github.com/aoudiamoncef/ubuntu-sshd/actions/workflows/cd.yml)
[![Docker Image CI](https://github.com/aoudiamoncef/ubuntu-sshd/actions/workflows/ci.yml/badge.svg)](https://github.com/aoudiamoncef/ubuntu-sshd/actions/workflows/ci.yml)
[![Docker Image Deployment](https://github.com/aoudiamoncef/ubuntu-sshd/actions/workflows/cd.yml/badge.svg)](https://github.com/aoudiamoncef/ubuntu-sshd/actions/workflows/cd.yml)
[![Docker Pulls](https://img.shields.io/docker/pulls/aoudiamoncef/ubuntu-sshd.svg)](https://hub.docker.com/r/aoudiamoncef/ubuntu-sshd)
[![Maintenance](https://img.shields.io/badge/Maintained-Yes-green.svg)](https://github.com/aoudiamoncef/ubuntu-sshd)

Expand Down

0 comments on commit 0a542ca

Please sign in to comment.