Skip to content

Commit

Permalink
testing docker action
Browse files Browse the repository at this point in the history
Signed-off-by: Justin Kolberg <[email protected]>
  • Loading branch information
amdprophet committed Sep 25, 2023
1 parent c6b9114 commit fd4f532
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion ci/build-fips-action/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,6 @@ RUN curl -Lo go.tar.gz https://go.dev/dl/go1.20.5.linux-$TARGETARCH.tar.gz
RUN tar -zxvf go.tar.gz -C /usr/local
ENV PATH="/usr/local/go/bin:${PATH}"

COPY ./ci/build-fips-action/entrypoint.sh /entrypoint.sh
COPY entrypoint.sh /entrypoint.sh

ENTRYPOINT ["/entrypoint.sh"]
2 changes: 1 addition & 1 deletion ci/build-fips-action/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ git config --global --add safe.directory /github/workspace

echo "HERE"

ls -l
ls -la

# Install builder
#cd otelcolbuilder || exit 1
Expand Down
4 changes: 2 additions & 2 deletions otelcolbuilder/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -136,8 +136,8 @@ build-debug: ensure-correct-builder-version

.PHONY: build-fips
build-fips:
docker build --platform linux/amd64 -t otelcol-sumo-builder-fips -f ../ci/build-fips-action/Dockerfile ../
docker run --platform linux/amd64 --rm -v $(PWD)/../:/github/workspace -w /github/workspace --tmpfs /tmp otelcol-sumo-builder-fips
docker build --platform linux/amd64 -t otelcol-sumo-builder-fips -f ../ci/build-fips-action/Dockerfile ../ci/build-fips-action
docker run -it --platform linux/amd64 --rm -v $(PWD)/../:/github/workspace -w /github/workspace --tmpfs /tmp otelcol-sumo-builder-fips

.PHONY: generate-sources
generate-sources:
Expand Down

0 comments on commit fd4f532

Please sign in to comment.