Commit d0aad2c3 authored by slimm609's avatar slimm609
Browse files

add photon tests to actions

parent deeb99c0
......@@ -10,4 +10,6 @@ jobs:
- name: ubuntu checksec
run: docker-compose run checksec-ubuntu
- name: arch checksec
run: docker-compose run checksec-arch
\ No newline at end of file
run: docker-compose run checksec-arch
- name: photon checksec
run: docker-compose run checksec-photon
\ No newline at end of file
......@@ -13,4 +13,14 @@ jobs:
- name: ubuntu checksec
run: docker-compose run checksec-ubuntu
- name: arch checksec
run: docker-compose run checksec-arch
\ No newline at end of file
run: docker-compose run checksec-arch
- name: photon checksec
run: docker-compose run checksec-photon
- name: docker build
run: docker build -t slimm609/checksec:latest .
- name: Push to Docker Hub
uses: docker/build-push-action@v1
with:
username: ${{ secrets.DOCKER_USERNAME }}
password: ${{ secrets.DOCKER_PASSWORD }}
repository: slimm609/checksec:latest
\ No newline at end of file
FROM photon:3.0
COPY checksec /bin/
RUN tdnf update && tdnf remove -y toybox && tdnf upgrade -y && \
tdnf install -y coreutils util-linux sed tar texinfo procps-ng grep findutils gzip file which awk binutils && \
chmod +x /bin/checksec
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment