Skip to content

Commit 20b36e4

Browse files
rm tags
1 parent 4ac1e0d commit 20b36e4

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

.github/workflows/build.yaml

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,32 +1,27 @@
1+
# https://docs.github.com/en/packages/managing-github-packages-using-github-actions-workflows/publishing-and-installing-a-package-with-github-actions
12
name: Build
23
on:
34
workflow_dispatch: {}
45
env:
56
REGISTRY: ghcr.io
67
IMAGE_NAME: ${{ github.repository }}
7-
8-
# There is a single job in this workflow. It's configured to run on the latest available version of Ubuntu.
98
jobs:
109
build-and-push-image:
1110
runs-on: ubuntu-latest
12-
# Sets the permissions granted to the `GITHUB_TOKEN` for the actions in this job.
1311
permissions:
1412
contents: read
1513
packages: write
1614
attestations: write
1715
id-token: write
18-
#
1916
steps:
2017
- name: Checkout repository
2118
uses: actions/checkout@v4
22-
# Uses the `docker/login-action` action to log in to the Container registry registry using the account and password that will publish the packages. Once published, the packages are scoped to the account defined here.
2319
- name: Log in to the Container registry
2420
uses: docker/login-action@65b78e6e13532edd9afa3aa52ac7964289d1a9c1
2521
with:
2622
registry: ${{ env.REGISTRY }}
2723
username: ${{ github.actor }}
2824
password: ${{ secrets.GITHUB_TOKEN }}
29-
# This step uses [docker/metadata-action](https://github.com/docker/metadata-action#about) to extract tags and labels that will be applied to the specified image. The `id` "meta" allows the output of this step to be referenced in a subsequent step. The `images` value provides the base name for the tags and labels.
3025
- name: Extract metadata (tags, labels) for Docker
3126
id: meta
3227
uses: docker/metadata-action@9ec57ed1fcdbf14dcef7dfbe97b2010124a938b7
@@ -39,7 +34,6 @@ jobs:
3934
--workspace-folder . \
4035
--config .devcontainer/vm/devcontainer.json \
4136
--image-name $IMAGE_NAME
42-
# run: docker build . --file Dockerfile --tag $IMAGE_NAME --label "runnumber=${GITHUB_RUN_ID}"
4337
- name: Push image
4438
run: |
4539
IMAGE_ID=ghcr.io/${{ github.repository_owner }}/$IMAGE_NAME

0 commit comments

Comments
 (0)