Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: update to polywrap #29

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 3 additions & 12 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,7 @@ jobs:
uses: docker/metadata-action@v4
with:
images: |
tinygo/tinygo
ghcr.io/${{ github.repository_owner }}/tinygo
polywrap/tinygo
tags: |
type=sha,format=long
type=raw,value=latest
Expand All @@ -37,16 +36,8 @@ jobs:
if: github.event_name != 'pull_request'
uses: docker/login-action@v2
with:
username: ${{ secrets.DOCKER_HUB_USERNAME }}
password: ${{ secrets.DOCKER_HUB_ACCESS_TOKEN }}
-
name: Login to GHCR
if: github.event_name != 'pull_request'
uses: docker/login-action@v2
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
username: polywrapbuildbot
password: ${{ secrets.POLYWRAP_BUILD_BOT_DOCKERHUB_PAT }}
-
name: Set up QEMU
uses: docker/setup-qemu-action@v2
Expand Down
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@ RUN wget https://dl.google.com/go/go${GO_RELEASE}.${TARGETOS}-${TARGETARCH}.tar.
find /usr/local/go -mindepth 1 -maxdepth 1 ! -name 'src' ! -name 'VERSION' ! -name 'bin' ! -name 'pkg' -exec rm -rf {} +


ENV TINYGO_RELEASE=0.28.1
RUN wget https://github.com/tinygo-org/tinygo/releases/download/v${TINYGO_RELEASE}/tinygo${TINYGO_RELEASE}.${TARGETOS}-${TARGETARCH}.tar.gz && \
tar xfv tinygo${TINYGO_RELEASE}.${TARGETOS}-${TARGETARCH}.tar.gz -C /usr/local
ENV TINYGO_RELEASE=0.28.1-polywrap.1
RUN wget https://github.com/polywrap/tinygo/releases/download/v${TINYGO_RELEASE}/tinygo.${TARGETOS}-${TARGETARCH}.tar.gz && \
tar xfv tinygo.${TARGETOS}-${TARGETARCH}.tar.gz -C /usr/local


# Build final image, emulation, runs as TARGETARCH
Expand Down
Loading