mirror of
https://github.com/lwthiker/curl-impersonate.git
synced 2025-08-09 13:19:37 +00:00
Push the Alpine image for Firefox version as well
This commit is contained in:
24
.github/workflows/publish-docker-image.yml
vendored
24
.github/workflows/publish-docker-image.yml
vendored
@@ -21,7 +21,7 @@ jobs:
|
||||
username: ${{ secrets.DOCKER_USERNAME }}
|
||||
password: ${{ secrets.DOCKER_PASSWORD }}
|
||||
|
||||
- name: Extract metadata (tags, labels) for Docker
|
||||
- name: Extract metadata (tags, labels) for Docker (chrome)
|
||||
id: meta_chrome
|
||||
uses: docker/metadata-action@v3
|
||||
with:
|
||||
@@ -30,7 +30,7 @@ jobs:
|
||||
type=semver,pattern={{version}}
|
||||
type=semver,pattern={{major}}.{{minor}}
|
||||
flavor: |
|
||||
suffix=-chrome-alpine3.15
|
||||
suffix=-chrome-alpine
|
||||
|
||||
- name: Build and push the Chrome version of curl-impersonate
|
||||
uses: docker/build-push-action@v2
|
||||
@@ -40,3 +40,23 @@ jobs:
|
||||
file: chrome/Dockerfile.alpine
|
||||
tags: ${{ steps.meta_chrome.outputs.tags }}
|
||||
labels: ${{ steps.meta_chrome.outputs.labels }}
|
||||
|
||||
- name: Extract metadata (tags, labels) for Docker (firefox)
|
||||
id: meta_firefox
|
||||
uses: docker/metadata-action@v3
|
||||
with:
|
||||
images: lwthiker/curl-impersonate
|
||||
tags: |
|
||||
type=semver,pattern={{version}}
|
||||
type=semver,pattern={{major}}.{{minor}}
|
||||
flavor: |
|
||||
suffix=-ff-alpine
|
||||
|
||||
- name: Build and push the Firefox version of curl-impersonate
|
||||
uses: docker/build-push-action@v2
|
||||
with:
|
||||
push: true
|
||||
context: firefox/
|
||||
file: firefox/Dockerfile.alpine
|
||||
tags: ${{ steps.meta_firefox.outputs.tags }}
|
||||
labels: ${{ steps.meta_firefox.outputs.labels }}
|
||||
|
Reference in New Issue
Block a user