Remove no longer used tools from Docker image and wasm-tools #221
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI-Docker | |
on: | |
pull_request: | |
branches: | |
- main | |
push: | |
branches: | |
- main | |
tags: | |
- v* | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Extract DOCKER_TAG using tag name | |
if: startsWith(github.ref, 'refs/tags/') | |
run: | | |
echo "DOCKER_TAG=${GITHUB_REF/refs\/tags\//}" >> $GITHUB_ENV | |
- name: Use default DOCKER_TAG | |
if: startsWith(github.ref, 'refs/tags/') != true | |
run: | | |
echo "DOCKER_TAG=latest" >> $GITHUB_ENV | |
- name: Login to Github registry | |
if: github.event_name != 'pull_request' | |
uses: docker/login-action@v2 | |
with: | |
username: ${{ github.actor }} | |
password: ${{ secrets.GITHUB_TOKEN }} | |
registry: ghcr.io | |
- name: Set lowercase repository name | |
run: | | |
echo "REPOSITORY_LC=${REPOSITORY,,}" >>${GITHUB_ENV} | |
env: | |
REPOSITORY: '${{ github.repository }}' | |
- uses: docker/build-push-action@v3 | |
with: | |
push: ${{ github.event_name != 'pull_request' }} | |
tags: ghcr.io/${{ env.REPOSITORY_LC }}:${{ env.DOCKER_TAG }} | |
build-args: | | |
CARTON_TAG=0.20.0 | |
SWIFT_DOCKER_IMAGE=swift:5.9.0-jammy | |
SWIFT_TAG=wasm-5.9.1-RELEASE | |
NODE_VERSION=18.x | |
OPEN_JDK_VERSION=11 | |
CYPRESS_VERSION=12.3.0 | |
CHROME_VERSION=120.0.6099.216 | |
CHROME_DRIVER_VERSION=114.0.5735.90 | |
FIREFOX_VERSION=99.0.1 | |
SYMBOLICATOR_VERSION=0.5.0 |