Skip to content

Upgrade action-builder to v0.7.6, update Dockerfile and entrypoint.sh… #79

Upgrade action-builder to v0.7.6, update Dockerfile and entrypoint.sh…

Upgrade action-builder to v0.7.6, update Dockerfile and entrypoint.sh… #79

Workflow file for this run

name: Build-Cron
on:
schedule:
- cron: "0 0 * * *"
push:
branches:
- main
- master
jobs:
build:
runs-on: ubuntu-24.04
steps:
- name: Checkout 🛎️
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Create Dockerfile
run: |
mkdir build
cat > build/Dockerfile<<EOF
FROM alpine
RUN echo "hello world"
ENTRYPOINT [ "sh", "-c", "echo -n 'Machine: ' && uname -m && echo -n 'Bits: ' && getconf LONG_BIT && echo 'goodbye world'" ]
EOF
- name: Build and push 🐳
uses: opspresso/action-builder@v0.6.6
with:
args: --docker
env:
USERNAME: ${{ secrets.DOCKER_USERNAME }}
PASSWORD: ${{ secrets.DOCKER_PASSWORD }}
DOCKERFILE: build/Dockerfile
IMAGE_NAME: opspresso/hello-world
TAG_NAME: action-builder
BUILDX: "true"