Skip to content

Commit

Permalink
initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
marc0olo committed Nov 21, 2023
0 parents commit 5622433
Show file tree
Hide file tree
Showing 3 changed files with 42 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/docker-publish.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: docker-build-and-push

on:
push:
tags:
- 'v*'

jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout Repo
uses: actions/checkout@v4

- name: Setup Docker Buildx
uses: docker/setup-buildx-action@v3

- name: Login to DockerHub
uses: docker/login-action@v1
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}

- name: Build and Push to DockerHub
id: docker_build
uses: docker/build-push-action@v5
with:
push: true
tags: kryptokrauts/alpine-curl-jq:latest,kryptokrauts/alpine-curl-jq:${{github.ref_name}}
5 changes: 5 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
FROM alpine:3.18

RUN apk add --no-cache curl jq bash

CMD ["/bin/bash"]
8 changes: 8 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# alpine-curl-jq

Small docker image with curl, jq and bash.

## Usage
```
docker pull kryptokrauts/alpine-curl-jq
```

0 comments on commit 5622433

Please sign in to comment.