Skip to content

Commit

Permalink
debug
Browse files Browse the repository at this point in the history
  • Loading branch information
RoadRunnr committed Aug 3, 2023
1 parent 80ee4a3 commit 01f1dfc
Showing 1 changed file with 35 additions and 34 deletions.
69 changes: 35 additions & 34 deletions .github/workflows/images.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -72,37 +72,38 @@ jobs:
sudo add-apt-repository ppa:aschultz/backports
sudo apt update
sudo apt full-upgrade -y
sudo apt install qemu-user-static buildah podman
-
name: Build Image
env: ${{ fromJson(steps.load-env.outputs.env) }}
id: build-image
uses: redhat-actions/buildah-build@v2
with:
build-args: |
ALPINE_VERSION=alpine:${{ env.OTP_ALPINE }}
OTP_VERSION=${{ env.OTP_VERSION }}
OTP_DOWNLOAD_SHA256=${{ env.OTP_DOWNLOAD_SHA256 }}
REBAR3_VERSION=${{ env.REBAR3_VERSION }}
REBAR3_DOWNLOAD_SHA256=${{ env.REBAR3_DOWNLOAD_SHA256 }}
image: ${{ steps.meta.outputs.images }}
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
platforms: linux/amd64,linux/arm64
containerfiles: |
./Containerfile
-
name: Check images created
run: buildah images
-
name: Push To Harbor
id: push-to-harbor
uses: redhat-actions/push-to-registry@v2
with:
image: ${{ steps.build-image.outputs.image }}
tags: ${{ steps.build-image.outputs.tags }}
username: ${{ secrets.QUAY_USERNAME }}
password: ${{ secrets.QUAY_TOKEN }}
-
name: Print image url
run: echo "Image pushed to ${{ steps.push-to-harbor.outputs.registry-paths }}"
sudo apt install binfmt-support qemu-user-binfmt qemu-user-static buildah podman
sudo update-binfmts --display
# -
# name: Build Image
# env: ${{ fromJson(steps.load-env.outputs.env) }}
# id: build-image
# uses: redhat-actions/buildah-build@v2
# with:
# build-args: |
# ALPINE_VERSION=alpine:${{ env.OTP_ALPINE }}
# OTP_VERSION=${{ env.OTP_VERSION }}
# OTP_DOWNLOAD_SHA256=${{ env.OTP_DOWNLOAD_SHA256 }}
# REBAR3_VERSION=${{ env.REBAR3_VERSION }}
# REBAR3_DOWNLOAD_SHA256=${{ env.REBAR3_DOWNLOAD_SHA256 }}
# image: ${{ steps.meta.outputs.images }}
# tags: ${{ steps.meta.outputs.tags }}
# labels: ${{ steps.meta.outputs.labels }}
# platforms: linux/amd64,linux/arm64
# containerfiles: |
# ./Containerfile
# -
# name: Check images created
# run: buildah images
# -
# name: Push To Harbor
# id: push-to-harbor
# uses: redhat-actions/push-to-registry@v2
# with:
# image: ${{ steps.build-image.outputs.image }}
# tags: ${{ steps.build-image.outputs.tags }}
# username: ${{ secrets.QUAY_USERNAME }}
# password: ${{ secrets.QUAY_TOKEN }}
# -
# name: Print image url
# run: echo "Image pushed to ${{ steps.push-to-harbor.outputs.registry-paths }}"

0 comments on commit 01f1dfc

Please sign in to comment.