Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update go to 1.20.10 and minor improvements #71

Merged
merged 1 commit into from
Oct 22, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .github/mergify.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# yaml-language-server: $schema=https://docs.mergify.com/mergify-configuration-openapi.json

pull_request_rules:
- name: automatic merge for Dependabot pull requests
conditions:
Expand Down
5 changes: 2 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -210,10 +210,9 @@ jobs:
organization: ${{ vars.DOCKERHUB_USERNAME}}

approve-pr:
name: Approve PR
runs-on: ubuntu-latest
needs: [build]
if: contains(fromJson('["mauwii","dependabot[bot]"]'), github.triggering_actor) && github.event_name == 'pull_request' && needs.build.result == 'success'
runs-on: ubuntu-latest
if: ${{ success() && contains(fromJson('["mauwii","dependabot[bot]"]'), github.triggering_actor) && github.event_name == 'pull_request' }}
permissions:
contents: read
pull-requests: write
Expand Down
92 changes: 60 additions & 32 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,32 +1,32 @@
# 🐳 Docker images for [nektos/act](https://github.com/nektos/act)

[![Docker Pulls](https://badgen.net/docker/pulls/mauwii/ubuntu-act?icon=docker&label=pulls)][dockerHub]
[![Docker Image Size](https://badgen.net/docker/size/mauwii/ubuntu-act?icon=docker&label=image%20size)][dockerHub]
[![Docker Stars](https://badgen.net/docker/stars/mauwii/ubuntu-act?icon=docker&label=stars)][dockerHub]
[![Github stars](https://badgen.net/github/stars/mauwii/act-docker-images?icon=github&label=stars)][githubRepo]
[![Github forks](https://badgen.net/github/forks/mauwii/act-docker-images?icon=github&label=forks)][githubFork]
[![Github issues](https://badgen.net/github/issues/mauwii/act-docker-images/?icon=github&label=issues)][githubIssues]
[![Github last-commit](https://badgen.net/github/last-commit/mauwii/act-docker-images/?color=blue&icon=github&label=last-commit)][githubCommits]

[![ci](https://github.com/mauwii/act-docker-images/actions/workflows/ci.yml/badge.svg?branch=main&event=push)][workflowCi]
[![MegaLinter](https://github.com/mauwii/act-docker-images/workflows/MegaLinter/badge.svg?branch=main&event=push)][workflowMegaLinter]
[![Docker-Hub description](https://github.com/mauwii/act-docker-images/actions/workflows/dockerhub-description.yml/badge.svg?branch=main)][workflowDhDesc]
[![Docker Pulls][DockerHub-pulls-badge]][DockerHub]
[![Docker Image Size][DockerHub-size-badge]][DockerHub]
[![Docker Stars][DockerHub-stars-badge]][DockerHub]
[![Github stars][GitHub-stars-badge]][GitHub-Repo]
[![Github forks][GitHub-forks-badge]][GitHub-Fork]
[![Github issues][GitHub-issues-badge]][GitHub-Issues]
[![Github last-commit][GitHub-commit-badge]][GitHub-Commits]

[![ci workflow badge][ci-badge]][Workflow-ci] [![MegaLinter][MegaLinter-badge]][Workflow-MegaLinter]
[![Docker-Hub description workflow badge][Docker-Hub-description-badge]][Workflow-DockerHubDescription]
[![Mergify badge][mergify-badge]][mergify] [![License badge][License-badge]][License]

> [!WARNING]
> Heavily under construction, so please do not use this anywhere in production

## What

The docker images in this repository are made to be used with [nektos/act][nektosActRepo], which is
a very handy tool to execute github workflows locally.
The docker images in this repository are made to be used with [nektos/act][nektos-act-repo], which
is a very handy tool to execute github workflows locally.

If you don't know it yet, I highly recommend to check it out 🤓

## Why

In the other Images I had problems with executing azure related tools, so I decided to create my own
image which is heavily inspired by the images of [catthehacker][catthehackerImages] and the
[official runner images][actionsRunnerImages].
image which is heavily inspired by the images of [catthehacker][catthehacker-image-repo] and the
[official runner images][actions-runner-images].

## How to use

Expand All @@ -41,7 +41,7 @@ The easiest way is to add those lines in your `~/.actrc`:
-P ubuntu-20.04=mauwii/ubuntu-act:20.04
```

For further information about [nektos/act][nektosActRepo] and how to use it, take a 👀 at the
For further information about [nektos/act][nektos-act-repo] and how to use it, take a 👀 at the
[nektos documentation📖][nektosDocs]

## How I run act on my M2-Max 💻
Expand Down Expand Up @@ -170,23 +170,51 @@ would be via pipx.
After successfully installing pre-commit on your system, you need to run `pre-commit install` in the
repository root if you want to enable the pre-commit hooks on your system as well.

[dockerHub]: https://hub.docker.com/r/mauwii/ubuntu-act/ "DockerHub container repository"
[githubRepo]: https://github.com/mauwii/act-docker-images/ "GitHub repository"
[githubFork]: https://github.com/mauwii/act-docker-images/fork/ "GitHub repository - forks"
[githubIssues]: https://github.com/mauwii/act-docker-images/issues/ "GitHub repository - issues"
[githubCommits]: https://github.com/mauwii/act-docker-images/commits/ "GitHub repository - commits"
[workflowCi]:
<!-- links -->

[DockerHub]: https://hub.docker.com/r/mauwii/ubuntu-act/ "DockerHub container repository"
[GitHub-Repo]: https://github.com/mauwii/act-docker-images/ "GitHub repository"
[GitHub-Fork]: https://github.com/mauwii/act-docker-images/fork/ "GitHub repository - forks"
[GitHub-Issues]: https://github.com/mauwii/act-docker-images/issues/ "GitHub repository - issues"
[GitHub-Commits]: https://github.com/mauwii/act-docker-images/commits/ "GitHub repository - commits"
[License]: https://github.com/mauwii/act-docker-images/blob/main/LICENSE "License"
[nektos-act-repo]: https://github.com/nektos/act "nektos/act git repository"
[nektosDocs]: https://nektosact.com/beginner/index.html "nektos/act docs"
[catthehacker-image-repo]:
https://github.com/catthehacker/docker_images
"catthehacker/docker_images repo"
[actions-runner-images]: https://github.com/actions/runner-images "official GitHub Runner images"
[Workflow-ci]:
https://github.com/mauwii/act-docker-images/actions/workflows/ci.yml
"GitHub workflow - ci"
[workflowDhDesc]:
[Workflow-DockerHubDescription]:
https://github.com/mauwii/act-docker-images/actions/workflows/dockerhub-description.yml
"DockerHub Description Workflow"
[workflowMegaLinter]:
"GitHub workflow - DockerHub Description"
[Workflow-MegaLinter]:
https://github.com/mauwii/act-docker-images/actions?query=workflow%3AMegaLinter+branch%3Amain
"MegaLinter Workflow"
[nektosActRepo]: https://github.com/nektos/act "nektos/act git repository"
[nektosDocs]: https://nektosact.com/beginner/index.html "nektos/act docs"
[catthehackerImages]:
https://github.com/catthehacker/docker_images
"catthehacker/docker_images repo"
[actionsRunnerImages]: https://github.com/actions/runner-images "official GitHub Runner images"
"GitHub workflow - MegaLinter"
[mergify]: https://mergify.com "Mergify.com"

<!-- badges -->

[mergify-badge]:
https://img.shields.io/endpoint.svg?url=https://api.mergify.com/v1/badges/mauwii/act-docker-images&style=flat
[ci-badge]:
https://github.com/mauwii/act-docker-images/actions/workflows/ci.yml/badge.svg?branch=main&event=push
[MegaLinter-badge]:
https://github.com/mauwii/act-docker-images/workflows/MegaLinter/badge.svg?branch=main&event=push
[Docker-Hub-description-badge]:
https://github.com/mauwii/act-docker-images/actions/workflows/dockerhub-description.yml/badge.svg?branch=main
[DockerHub-pulls-badge]: https://badgen.net/docker/pulls/mauwii/ubuntu-act?icon=docker&label=pulls
[DockerHub-size-badge]:
https://badgen.net/docker/size/mauwii/ubuntu-act?icon=docker&label=image%20size
[DockerHub-stars-badge]: https://badgen.net/docker/stars/mauwii/ubuntu-act?icon=docker&label=stars
[GitHub-stars-badge]:
https://badgen.net/github/stars/mauwii/act-docker-images?icon=github
[GitHub-forks-badge]:
https://badgen.net/github/forks/mauwii/act-docker-images?icon=github
[GitHub-issues-badge]:
https://badgen.net/github/issues/mauwii/act-docker-images/?icon=github
[GitHub-commit-badge]:
https://badgen.net/github/last-commit/mauwii/act-docker-images/main?icon=github&color=blue
[License-badge]: https://badgen.net/github/license/mauwii/act-docker-images
6 changes: 3 additions & 3 deletions docker-bake.hcl
Original file line number Diff line number Diff line change
Expand Up @@ -55,15 +55,15 @@ variable "GIT_LFS_VERSION" {
}

variable "GOLANG_SHA256_amd64" {
default = "8921369701afa749b07232d2c34d514510c32dbfd79c65adb379451b5f0d7216"
default = "80d34f1fd74e382d86c2d6102e0e60d4318461a7c2f457ec1efc4042752d4248"
}

variable "GOLANG_SHA256_arm64" {
default = "da7fca78f85b90b495382cd74b2d0a1c0b6aaa200e7feb27ae7198352b2317fa"
default = "fb3c7e15fc4413c5b81eb9f26dbd7cd4faedd5c720b30fa8e2ff77457f74cab6"
}

variable "GOLANG_VERSION" {
default = "1.20.9"
default = "1.20.10"
}

variable "NODE_VERSION" {
Expand Down