Compare commits
5 Commits
ed2eef5cee
...
0.0.3
| Author | SHA1 | Date | |
|---|---|---|---|
| 6f4a6fdedc | |||
| 143d912da8 | |||
| edeb0d808e | |||
| 8fcc4bb189 | |||
|
|
af91b2be02 |
@@ -16,6 +16,9 @@ env:
|
||||
jobs:
|
||||
build-and-push:
|
||||
runs-on: ubuntu-latest
|
||||
container:
|
||||
image: gitea/runner-images:ubuntu-latest
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
packages: write
|
||||
|
||||
@@ -1,22 +0,0 @@
|
||||
name: Run Actions
|
||||
run-name: ${{ gitea.actor }} compiles
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- dev
|
||||
- main
|
||||
tags:
|
||||
- '*.*.*'
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
build-and-push-image:
|
||||
runs-on: ubuntu-latest
|
||||
permissions:
|
||||
contents: read
|
||||
packages: write
|
||||
steps:
|
||||
- name: Dump Environment Variables
|
||||
run: |
|
||||
env | sort
|
||||
@@ -11,8 +11,15 @@ RUN dnf update -y && \
|
||||
which \
|
||||
vim \
|
||||
jq \
|
||||
createrepo_c \
|
||||
python3-pip && \
|
||||
dnf group install -y "Development Tools" && \
|
||||
dnf clean all
|
||||
dnf clean all && \
|
||||
case "$(uname -m)" in \
|
||||
x86_64) wget "https://github.com/mikefarah/yq/releases/latest/download/yq_linux_amd64" -O /usr/local/bin/yq ;; \
|
||||
aarch64) wget "https://github.com/mikefarah/yq/releases/latest/download/yq_linux_arm64" -O /usr/local/bin/yq ;; \
|
||||
*) echo "Unsupported architecture: $ARCH" && exit 1 ;; \
|
||||
esac && \
|
||||
chmod +x /usr/local/bin/yq
|
||||
|
||||
CMD ["/bin/bash"]
|
||||
Reference in New Issue
Block a user